Forums

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

How to get issuetypes for a next gen project?

Kaustubh Zephyr
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!
October 27, 2020

I want to fetch all issuetypes added to a next gen project via API.

For classic projects, I am using /rest/api/3/issuetypescheme/project and then /rest/api/3/issuetypescheme/mapping

Something along these lines would be helpful.

 

Thanks in advance.

1 answer

1 accepted

0 votes
Answer accepted
Prince Nyeche
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.
October 27, 2020

Hi @Kaustubh Zephyr 

Welcome to community! For next-gen project it doesn't have some of the API's available for classic project. I believe you can do this by using the /rest/api/3/project/search endpoint parse out the field "style":"next-gen" to identify next-gen only project and grab the projectId from the payload. Then use the project id to find the issuetype on /rest/api/3/issuetype to know all the issuetype added to it. That's one way to think about it.

Kaustubh Zephyr
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!
October 27, 2020

Thanks @Prince Nyeche . This works for my use case.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events