The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Prince Nyeche - ELFAPP
Atlassian Partner
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 - ELFAPP . This works for my use case.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events