Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how do i get current status of issue jira search api

Abineshwari Mariappan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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 Champion
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
TAGS
AUG Leaders

Atlassian Community Events