The function returns the NUMBER of milliseconds the current issue has remained in a status with name status_name.
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(string status_name) #Output: Number
The function returns the NUMBER of milliseconds the current issue has remained in a status with a name "status_name" within a schedule_name for a given 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(string status_name, string schedule_name, timeZone time_zone #Output: Number
the function returns a NUMBER representing the sum of milliseconds issues in an issue list issues have remained in a status with the name "status_name". If an issue from that list 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(string status_name, issue list issues) #Output: Number
The function returns a NUMBER representing the sum of milliseconds issues in an issue list issues have remained in a status with the name "status_name" within a schedule named "schedule_name" for a given time_zone. If an issue from that list 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(string status_name, issue list issues, string schedule_name, timeZone time_zone) #Output: Number