Number of hours an issue has been on an specific priority
Use case
This calculated field returns the number of hours in which an issue has had some priority.
Prerequisites
Configuration
Target issue*
Choose Current issue
Current Status field
Field*
Choose Current Status
Expression*
Set it to Advanced and use the following expression
"*" + dateTimeToString({system.currentDateTime}, "yyyy-MM-dd", USER_LANG) + "* - *" + %{system.currentUserFullName} + "*\n" + %{issue.cfnnnnn}
%{issue.cfnnnnn} is the field code for the field Status Update
Screenshots
Screencast
Related use cases
If you still have questions, feel free to refer to our support team.