Hello,
I would like to calculate the the difference between the Resolution time and the Created time in order to see in how much time the ticket was solved. I have defined a rule in Jira Automation Rules with the following expression :
{{issue.created.diff(issue.resolved).hours}}
I have also created a custom field where this calculation shall be shown in the ticket. The custom field was created as number and it works.
But I have a question cause I cannot figure this out : when I reopen a ticket (which was previously Solved) for a rework, and afterwards I put it again in Resolved, it is not clear for me if it's summing all the time the ticket was in Open/Progress or not. Cause what we would need is to have the sum of the total time the ticket was in progress before passing to Resolved.
Thanks,
Irina