how do i get current status of issue jira search api

Abineshwari Mariappan January 11, 2022

I have tired a url to fetch the status of the Jira- 

http://localhost:8075/rest/api/2/issue/ISSUE-2?fields=status

Response:  

 

"status": {
XXXX

XXXX
"name": "To Do",
"id": "10061",
"statusCategory": {

XXX

XXX
"name": "To Do"
}
}

 

Question : 

How can i get only status value "name": "To Do"  from URL ? 

 

1 answer

0 votes
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 11, 2022

Hi @Abineshwari Mariappan  Welcome to Atlassian Community!

API response is correct. API gives completed details of Status and status category. 

If you export this json reponse in csv you will see seperate column of a Status or you can directly export data into CSV. It's not feasible to change API response. 

 

Thanks

V.Y

Suggest an answer

Log in or Sign up to answer