You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Is there a way to achieve auto time logging using this add-on? I want to automate time logging and tracking such that a “timer” starts when an issue transitions to “In Progress” and stops when it transitions to “Done”. At the end of every month, I can then run time reports for management.
This is a pretty advanced usage but it can be done with Automation for Jira.
It is possible to do this using 2 rules. The first rule stores the first date on the original transition and then the second rule calculates the time difference and logs the work on the second transition.
Your first rule would like:
{{#now}}toMinutes{{/}}
The second rule would like:
{ "update": { "worklog" : [ { "add": { "timeSpent" : "{{#=}}{{#now}}toMinutes{{/}} - {{issue.properties.timestamp_in_progress}}{{/}}m" } } ] } }
This will add how many minutes elapsed between the 2 transitions.
Here's screenshots of the 2 rules:
Hi @andreas,
Thanks for detailed description of the rules. But it seems that time is not logged after first transition occurred, and we're seeing "No time logged" on issue page.
Are these rules only calculating time after final transition to "Done"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@andreas Hi Andreas! Thanks for ur answer! It was 3 years ago, but how do u think, is it possible to upgrade this 2 autimation rules to collect only working time (9 AM - 6 PM; 5/7)?:)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It might be easier to use Clockwork for automated time tracking as it does not require writing rules manually. It also logs time as a real user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy New Year! We hope you all had a safe and restful holiday season. 2020 was a unique year full of unforeseen events; however, as we enter the new year of 2021, we’re optimistic for the light at t...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.