I am creating a new project board in a company managed version. I am looking to track resolution time for incidents.
I need to create 2 fields:
I would like to then add a new field that would show the calculated difference in time between the two. Can anyone help with suggestions.
Note: I have become more experienced with Jira but still consider myself somewhat a beginner when it comes to more complex items.
Hi Michelle - Welcome to the Atlassian Community!
Create a custom field of type Number that will hold the difference.
Then create an Automation Rule based on a Field value changed trigger.
Then add a new action for Edit issue.
Select your new number field.
Put this is the text box: {{issue.customfield_17363.diff(issue.customfield_17350).hours}}
Where the custom field values represent your two fields you note above.
Thank you so much John! This was my first time using the automation. Thank you for making the instructions clear and for your assistance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can i achieve this value expressed in hours and minutes?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @michelle.purcell
Welcome to the community.
Are you working with a Software project (vs. a Service Management or Business project)?
Can you not use the Created Date for the "Time Identified" value?
And can you not use the Resolution Date for the "Resolved" value?
Unless you have some third party apps that extend the types of custom fields you can create, you won't be able to create a field that will inherently calculate the value. You will have to use the Automation feature to create a rule to calculate the value and put the value into your custom field. You could trigger the rule based on the changing of the status of the issue to a "done" status. You might also create a rule to clear the field, if the issue is changed from a "done" status to a "not-done" status.
You might alternately be able to do that calculation as a Post Function in your workflow transitions, if you have a third party app that extends the functionality of Post Functions. That would not be something available in Jira natively.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Trudy. I cannot use the time difference between the time created and time resolved because after resolution there are some follow-on tasks/fields that need to be populated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.