-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: Space Administration - Workflows and statuses
-
2
-
Severity 3 - Minor
Summary
When attempting to pull the "Time in Status" data from Jira REST API, it seems that the field is only updated when the issue is resolved (has a value in the Resolution field). If the issue has been transitioned a few times, but never had the value in the Resolution field, the custom field will still show "null".
Environment
- Atlassian Cloud
Steps to Reproduce
- Create a Jira issue.
- Transition it to a new status which does not set the Resolution field.
- Since the REST endpoint we are using is a GET, we can directly check through the browser.
- Through the browser, go to "<instance-name>.atlassian.net/rest/api/2/issue/<issue-key>"
- In the returned results, search for the value of customfield_<ID of Time In Status custom field>.
- For example, "customfield_10013".
Expected Results
The "Time in Status" custom field should show the time that the issue was in the first status. For example,
"customfield_10013":"1_*:*_1_*:*_16552_*|*_10002_*:*_1_*:*_0"
Actual Results
The "Time in Status" custom field shows as null.
"customfield_10013":null
Workaround
None