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