Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Display time elapsed in current status in a field

I need a field which populates time elapsed in current status. Currently I have placed the script in post-function on transition but it updates only on transition, but it can't tell the current duration in the current status, any pointers will be helpful.

4 answers

0 votes
Joe Pitt Community Leader Dec 05, 2019

You may be able to do it with a listener that fires the script. I haven't used them and don't know if the event listener will fire if someone just views the issue.  Is says 'whenever anything happens to an issue' but just viewing it may not count

Thanks for the reply.

But something I need which will update by itself even when there is no action on that ticket.

Lets say, i have moved the ticket to Assigned status now, so it is 0minutes in this status. if I do a query after 5minutes, will this ticket will show up that field with value as 5 minutes ?

Joe Pitt Community Leader Dec 05, 2019

Nothing in JIRA will allow that. I would look for a plugin, but being the cloud limits what plugins you can install. You would need a continuous clock running in the background for EVERY issue. That would be a big drain on the system resources. 

0 votes

Hi @Jagan Shankar and @Joe Pitt 

Time in Status for Jira Cloud by SaaSJet could be a great solution for you.

This app can generate reports of how long your issues stayed in a specific status. It provides the possibility to view data as number tables or as charts and export them as XLSX or CSV files.

Also, using this add-on you can get graphical and numerical data at the single issue view tab.

Hope it helps to resolve your question

Best Regards

For Jira Cloud, you can use Status Time add-on. It generates status time report based on your working calendar.

If you are looking for a free add-on, you can try the free version, Status Time Free.

@Jagan Shankar ,


Would you share your post function script and its logic please.

Suggest an answer

Log in or Sign up to answer

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you