Log time to "Time Tracking" field with automation

Javid Huseynli January 26, 2023

Hi,

I want to log work when status changes to "Production" to "Time Tracking" field.

Example: 

My task created 13 minutes ago. And it took me 13 minutes to change status to "Production". So I would like to add this work to "Time Tracking" automatically. 

Any automation rules maybe? 

Screenshot_1.png

3 answers

1 accepted

3 votes
Answer accepted
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 26, 2023

Hi @Javid Huseynli and welcome to the community!

You could do something like this:

  • TRIGGER: Issue Transitioned (To Production)
  • ACTION: Log Work
    • Time Spent: {{created.diff(now).minutes}}m
    • Started: {{created}}
    • Description: Anything you may want to add
Javid Huseynli January 26, 2023

Hi @Mark Segall 

It worked great. Thank you!

Like # people like this
Thomas Gill
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 25, 2023

Hi,

This worked great for me too but then ran into a problem when an issue did not transition for say more than a day.

In this instance I end up with many days or weeks being logged on an issue.

Ideally, I would just like it to log the working mins/hours/days as per my Global time tracking settings.

Thanks

Like Gabriela Koleva likes this
Gabriela Koleva
Contributor
October 18, 2023

I have the exact same issue as Thomas. Does anyone know how to fix that?

Like Thomas Gill likes this
Mateusz Krawczyk (Eyzee)
Atlassian Partner
October 18, 2023

Tough case with automations.

But you can use a timer and track how much time you've spend exactly. Just stop it when you're having a break and resume when you're getting back to your task.

This kind of solution is available via plugins, ie. https://marketplace.atlassian.com/apps/1225080/ezee-worklog-plus

1 vote
Samuel Gatica _ServiceRocket_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 26, 2023

Hi @Javid Huseynli 

Welcome to the community!

You can create a Time variable using smart values to get the difference between the created and the transitioned time like {{now.diff(issue.created).minutes.abs}}

Then using the Log work action you can pass the value.

Screenshot_3.png

Screenshot_4.png

Screenshot_5.png

Hope this helps

Best regards

Sam

0 votes
Gracjan Wesołowski _HeroCoders_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2023

Hi @Javid Huseynli 

Welcome to the community!

If you would like to consider using a third-party app for time tracking that has built-in automatic timers, I can recommend our Clockwork Automated Time Tracking & Timesheets Free app. I believe it fits well in your needs.

You can use, and set up your workflow statuses to automatically start tracking time whenever an issue is in "active" status:CLK_comm3.PNG

If you have any questions, you can contact us using our Help Center.

Cheers!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events