I have tried to use the statuses.properties option according to this guide for Jira's REST API but for each status it only returns
"properties":{"issueEditable":true}
rather than a list of properties like
[{"key":"jira.permission.edit.projectrole.1","value":"Administrator","id":"jira.permission.edit.projectrole.1"}]
Whereas if I use the transition get properties function here, the following is returned as expected:
[{"key":"opsbar-sequence","value":"0","id":"opsbar-sequence"}]
How do I get the properties set for workflow statuses using the REST API of Jira Cloud?
Hello Julian,
Thanks for coming to Community for your request and including great detail into what you’re wanting to accomplish. From reviewing the endpoints you provided, I do see that GET /rest/api/3/workflow has been deprecated and we suggest you use GET /rest/api/3/workflow/search in its place. This endpoint should output something similar to the following:
"statuses": [
{
"id": "3",
"name": "In Progress",
"properties": {
"issueEditable": false
}
}
]
Please give this endpoint a test and let us know if it meets your needs.
Regards,
Stephen Sifers
Hi Stephen,
I have tried both the deprecated and experimental options but neither returns the settings I require. Within Jira, it is possible to individually set the edit/assign etc. permissions for each status via the jira.permission.* properties as shown in the attached image. I am still unable to find a way to retrieve or set this via the REST API.
Regards,
Julian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.