Im trying to write a script using the scriptrunner, I want to do a script to return me a total time in each state.
For example:
1. how many days, hours, minutes stayed from Open to 1Status?
2. how many days, hours, minutes stayed from 1status to 2Status?
3. how many days, hours, minutes stayed from 2status to Closed?
there is another point, for example, if the issue returns from 2status to 1status, I also want to track it.
Thanks in advance.