I am using the JIRA REST API, and I would like to request all the problems in the "Resolved" status. The status field is as follows:
"status": { "self": "https:\/\/jira.atlas.xx.com\/rest\/api\/2\/status\/5", "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "iconUrl": "https:\/\/jira.atlas.xx.com\/images\/icons\/statuses\/resolved.png", "name": "Resolved", "id": "5", "statusCategory": { "self": "https:\/\/jira.atlas.xx.com\/rest\/api\/2\/statuscategory\/3", "id": 3, "key": "done", "colorName": "green", "name": "Complete" } }
Currently, the only way to find out is to request status = 5. It would be nice to make the request more intuitive and look for all problems using the "Allowed" status line. Here is the query I'm using:
https://jira.atlas.xx.com/rest/api/2/search?jql=project=MYPROJECT and status=5 and fixVersion=15824&fields=id,key,description,status
Can I request a status name?
source share