Skip to main content

Using a Stream Deck to toggle time tracking on Item

  • February 14, 2022
  • 5 replies
  • 2560 views

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?

5 replies

Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • February 16, 2022

Hello @kyledavis124 and welcome to the community!

I hope you like it here 💪

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 🙂

Cheers,
Matias


  • Author
  • New Participant
  • February 16, 2022

That is exactly what I want to do.

Kyle Davis


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • February 17, 2022

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


  • New Participant
  • August 1, 2022

Hey,
Is there an update on this issue?
@Matias.Monday did you succeed? This is exactly what I want it to be


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • August 1, 2022

Hello @jonjon and welcome to the community!

I hope you like it here 💪

This is not deployed as of today.

I will add your vote to it 🙂

Cheers,
Matias