JIRA 5.2: How to show Turn Around Time (Resolved Date - Created Date) on issue navigator?

Hi,

Is there any way to show the Turn Around Time (Resolved Date - Created Date) as one of the columns on the issue navigator and if possible also export the same to the excel file?

Regards,

Rumit

3 answers

1 accepted

0 vote
Renjith Pillai Community Champion Jul 06, 2013

Add a scripted field using Script Runner and add the below code

return (issue.resolutionDate != null) ? String.format("%d day(s)",(int)((issue.resolutionDate.getTime() - issue.created.getTime()) /(1000*60*60*24))) : "N/A" ;

Hi Renjith, I have added the script given by you to the scripted field. However, It always returns 'N/A' even for the issues that are resolved/closed. Regards, Rumit

Ok, I 've corrected the formula given by Renjith.

It should be 'issue.getCreated()' instead of 'issue.created'.

(issue.resolutionDate != null) ? String.format("
%d day(s)",(int)((issue.resolutionDate.getTime() - issue.getCreated().getTime()) /(1000*60*60*24))) : "N/A" ;

So, here I get the TAT in 'Days' . Is there any way to format this value to a TIME? e.g. 14:10:44 (HH:MM:SS)?

Regards,

Rumit

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,329 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot