We have a requirement to calculate the duration it took when the ticket was transitioned from the previous transition to a new transition, and create a new ticket in another project that records the duration.
Example:
Ticket Transitioned to "In Queue" -> April 30, at 10:00 AM
Ticket Transitioned to "In Progress" -> April 30, at 11:00 AM
Then a new ticket is created where it will say write that the duration is 1hr.
This example shows the previous status id (for use in another Edit action)
{{#changelog.status}}{{from}}{{/}}
but, is there a way to get the actual date/time it was transitioned?
If this is possible, the duration field in the new ticket would be something like this:
{{now.diff({{#changelog.status}}{{from}}{{/}}.time).hours}}
Thanks,
I ended up using new customfields to track the previous transition date and time. I used automation to log the time when the transition changes.
Hello @Fabian Lim ,
For an automated solution that offers great flexibility and details, our team at OBSS built Time in Status app for this exact need. It is available for Jira Server, Cloud, and Data Center.
Time in Status has many report types:
Time in Status can display its reports on its own reporting page, issue view pages and dashboard gadgets (as data or charts in all).
The app calculates its reports using already existing Jira issue histories so when you install the app, you don't need to add anything to your issue workflows and you can get reports on your past issues as well. It works with both Company Managed and Team Managed (next-gen) projects.
Using Time in Status you can:
Timepiece - Time in Status for Jira
EmreT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am curious why you are creating JIRA issues to record the time that an issue is in a particular status.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are a creating a Time To Acknowledge Report.
A single ticket can be sent back to "In Queue" status several times in its lifecycle.
The managers want to calculate how much time it spent in the "In Queue" status before it went to "In Progress" individually.
Example:
Ticket moves to in queue at 1pm
Then moves to in progress at 2pm
Then it moves back to in queue at 3pm
then it moves back to in progress at 5PM
Then 2 new tickets should be created:
Ticket 1-> Duration 1hr
Ticket 2 -> Duration 2hrs
I hope this makes sense.
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.