calculate time spent on ticket in jira

Hi All,

I'm not sure how to put this question however i have requirment from a user and they want to add a new coloum in issue navigator. That new colom is going to use a formula to calculate the time spent on that ticket

Age of ticket= current date()- ACKNOWLEDGED_DATE()

where Age of ticket= new coloum that needs to be added in issue navigator

Current date= System curent date and time

Acknowledge date= cutsom field setup in the project.

e.g

Age of ticket= 05/Mar/2014- 03/Mar/2014

ans is going to be 2 and so Age of ticket should hold the value as 2 and it would be great to have time stamp added also

3 answers

can any one help on this issue? This is a critical requirement.

I think the best approach would be to use groovy scripted fields. Please have a look in the provided link i think you will find what you want.

Cheers

i used a custom calculate number filed and wrote a formula which calcuates difference among two dates in hours. later i divide the result by 24 to get number of days.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

492 views 1 18
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