Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get all status for a Issue Edited

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

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.

Thanks for Reply ,

 

But i want to get  all status in JIRA API .

Sorry i forget to mention it in Questions

0 votes

Hi @Z B 

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!

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

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

0 votes
Leo Community Leader Dec 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 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you