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,