Forums

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

Get all status for a Issue

arslan aslam December 17, 2019

Hi ,

 

How can i get all status for a issue.

 

for example

a issue is first status is New

then it is In-Progress

then it is Resolved

then it is Closed

 

How i can all of these ?

 

 

Updated

I want to do it in JIRA API

 

3 answers

0 votes
Leo
Community Champion
December 18, 2019

Hi @arslan aslam,

I don't think there is a rest endpoint to provide you all status of the workflow used by your issue, even if you retrieve there is no action you can perform with them

But alternatively you can fetch next status and available transitions from current status, from there you can move your issue to next status using rest api

 

The rest call/endpoint to fetch available transitions from current status is below

rest/api/latest/issue/{issueKey}/transitions 

 

BR,

Leo 

0 votes
Thomas Magny-Garcia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 17, 2019

Hi @Zita Bagi 

With administration rights for your project, you may be able to see the workflow of each ticket.

Go to administration tab > Issue type > "Your issue type" and then you will see it :
Capture.PNG

 

Hope it helps!

Zita Bagi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 17, 2019

Aye, that's right, I thought OP was asking about the particular statuses one exact issue went though.

arslan aslam December 17, 2019

That's not answer of my question , i am using JIRA API and i want to do via REST API Calls.

0 votes
Zita Bagi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 17, 2019

Hi, you mean you want to see all status transitions at once? If you go into the Issue and under Activity click on the History tab, you can see all changes which happened to the issue, including status changes.

arslan aslam December 17, 2019

Thanks for Reply ,

 

But i want to get  all status in JIRA API .

Sorry i forget to mention it in Questions

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events