Is it possible to find the options available for a field? It seems like this should work:
https://docs.atlassian.com/jira/REST/cloud/#api/2/field/{fieldKey}/option-getAllOptions
But it doesn't seem to . . .
Thanks!
Thanks! This would be good if it returned the IDs for the fields . . .
$ curl -s https://example.jira.com/rest/api/2/jql/autocompletedata/suggestions?fieldName=Risk | jq '.'
{
"results": [
{
"displayName": "High",
"value": "High"
},
{
"displayName": "Low",
"value": "Low"
},
{
"displayName": "Medium",
"value": "Medium"
}
]
}
I need a convenient way to get the IDs . . . Thanks, though!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, jql/autocompletedata seems to be ordered alphabetically, not following field configuration.
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.