I want to add a custom field in jira to calculate the time spent on that ticket. It could be either manual or automatic.
If manual: i should be able the enter "time spent" HH:MM
If automatic: System should calculate the time from when it was open till closed.
Which custom field I can select?
A number field won't be able to hold a time like that, unless you enter hh.mm, and there's no validation, and it'll shorten leading/trailing 0s. As an example, the time 06:20 will be shown as 6.2, and the user will be able to enter things like 987.931
This is crying out for a calculated field instead - if you write one of these, you can determine the calculation and the display format. I'd be tempted to use a scripted field from the script runner plugin though - you'll avoid having to write the whole thing from scratch.
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 ...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot