Using a Stream Deck to toggle time tracking on Item

I want to build a Stream Deck Plugin.

On a button press, time tracking will start, and stop on repeat press.

As of now I have to open the app or go to a website to start or stop the tracking.

The API does not seem to have any documentation on how to mutate the column value of type duration.

query {
    items_by_column_values (board_id: 1234,
 column_id: "person",
 column_value: "PERSON NAME HERE") {
        id
        name
        state 
        column_values {
            id
            title 
            text
            type
        }
    }
}


                    {
                        "id": "time_tracking0",
                        "title": "Time Tracking",
                        "text": "10:41:49",
                        "type": "duration"
                    },

I want to start and stop a current session.

Can anyone point me in the right direction?

1 Like

Hello @kyledavis124 and welcome to the community!

I hope you like it here :muscle:

Just to be sure we are on the same page here, what you want to do is start / stop the time tracking column using an API call.

Is this accurate?

Looking forward to hearing from you :slightly_smiling_face:

Cheers,
Matias

That is exactly what I want to do.

Kyle Davis

Hello again @kyledavis124!

As of today this is not supported by our API.

As a workaround, you could make an API request that does something else (like maybe change a status column) and then adds customs automations that start/stop the time tracking column when that status changes to either “Stop” or “Start”. You could use another column type too if you wish.

What do you think?

Cheers,
Matias