Hi,
Is it possible to get the status name of an issue with no statusCategory?
I need it to grep just for the status name.
I am using now:
curl -k -u user:pass -X GET -H "Content-Type: application/json" https://jirainstance.com/rest/api/2/issue/TICKET-1?fields=status
That gives me the following output:
{"expand":"renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations","id":"880473","self":"https://jirainstance.com/rest/api/2/issue/880473","key":"TICKET-1","fields":{"status":{"self":"https://jirainstance.com/rest/api/2/status/10017","description":"","iconUrl":"https://jirainstance.com/images/icons/statuses/generic.png","name":"Integrated","id":"10017","statusCategory":{"self":"https://jirainstance.com/rest/api/2/statuscategory/4","id":4,"key":"indeterminate","colorName":"yellow","name":"In Progress"}}}}
That can cause a confusion for me if I try to grep for the status because there are two different possible status: "INTEGRATED" and "IN PROGRESS"
Thanks and Regards
I'm afraid not, it's returning all the status detail you might need, including the status category. There's no way to drop bits of the status response.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, according to https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/ there is {{issue.status.name}} now. I used it in Jira Automation and it's working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.