I'm trying to get list of all statuses defined in JIRA by accessing rest/api/2/status
.
It seems to work correctly on production instance but on my development instance, started via atlas-run-standalone --product JIRA --version 6.4.3
, the result list is incomplete - contains only 3 out of 7 statuses defined.
Trying to access status directly by Id (same as on secure/admin/ViewStatuses.jspa
page) with
returns error 404: rest/api/2/status/1
The status with id '1' does not exist
.
Community moderators have prevented the ability to post new answers.
Hi Marcin,
Reproduced the same behavior for my JIRA. Then I went to Administration -> Issues -> Workflows and reviewed diagrams for active and inactive workflows.
It appears that "rest/api/2/status" returns statuses that are associated with active workflows. I was able to get all statuses by creating a new project and associating it with a workflow that was inactive.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.