This function returns the number of milliseconds the current issue has remained in a status with specific status.
If an issue has been in that status more than once, then duration will be summed up and the total time spent in the status will be returned.
timeInStatus(statusName) #Output: Number
Variant where you additionally define a custom calendar and time zone.
If an issue has been in that status more than once, then duration will be summed up and the total time spent in the status will be returned.
timeInStatus(statusName, calendarName, timeZone) #Output: Number
Variant where you can additionally define multiple issues in an issue list.
The time across all issues will be summed up.
timeInStatus(statusName, issueList) #Output: Number
Variant where you can define multiple issues in an issue list and additionally a custom calendar and time zone.
The time across all issues will be summed up.
timeInStatus(statusName, issueList, calendarName, timeZone) #Output: Number
Use cases and examples
Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
---|---|---|---|---|---|
Number of days an issue was in the Open status against a JWT calendar | Number |