Forums

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

How to get the status list for each type of issues in JIRA CLOUD using Rest API

Chitra Sankar
March 31, 2022

Hi,

As per the business requirement,  I have to display the status list(like open, in-progress)  options based on the issue type(task,story,etc,.). I can get the all status list  using /statuscatefory API. But it should be specific with issue type.

Any Idea? 

1 answer

0 votes
Nic Brough -Adaptavist-
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 Champions.
April 1, 2022

There is no way to do that directly, you'll need to read the project configuration for the workflow scheme, then the workflow the issue is set to use, and parse that for the status ids which you'll then need to map in the status list you already mentioned.

Chitra Sankar
April 13, 2022

@Nic Brough -Adaptavist- Please explain more on it.  

D Smith
December 13, 2023

Ugh... this API really is so developer unfriendly

Nic Brough -Adaptavist-
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 Champions.
December 14, 2023

It's not the API, it's the power and flexibility of Jira that makes it complex.  That leads to a complex API.

Suggest an answer

Log in or Sign up to answer