Automatically Log Issues working time


I would like to have the time spent on issues logged automatically by the system. The way it should work is each time someone starts working on an issue the system starts counting and when they stop working on it it should stop counting and log the time. This for each time this happens for the issue. Finally when the issue is closed the total time should be logged as the time spent on the issue.

I know its possible that people log the time they have worked on each issue, but believe this should be easily done by the system automatically. How can this be done?



3 answers

Comments Closed
0 votes

You'll need to find or write some code to do this. A post-function or listener that traps the Start and Stop events and updates the work log automatically for your users.

However. You are using OnDemand, which doesn't allow you to install the code that this would need.

Thanks Nic for the answer. Do you know if its possible to be done with post-functions? Then I may try to do it, if I really need to write some listeners then maybe I give up.

Also could you please shoe me which functions I should be looking into?


Hi Nic,

I have the same issue as Martin. We need to log the time spent automatically. We found this plugin - to extends the functionality of post functions. However we did not manage to log the time so far.

If you could guide me which function to use, it would be a great help.




In the How to do it section, Work Start Time is reference to have a field code of 10002.  But then in the Configuration of "Stop Progress" transition section, the example uses 10300 as the field code of the Work Start Time field.

Is this just a typo?  

Or is there some other translation of field codes that I am missing?

There is a new app on the Marketplace, Clockwork Automated Timesheets, that does exactly that. It fully integrates with Jira's workflow so that the time logged corresponds to how much time an issue was In Progress or had any other active status. If necessary, the timers can always be started or stopped manually by using convenient buttons. There are also reports available.

It all comes for free, together with highly responsive support which is keen on hearing any suggestions or feature requests.

You can find more information and screenshots on the app's page on the Marketplace.

Best regards,
Maciej from HeroCoders

Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,631 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you