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.
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.
Thanks @Prince Nyeche - ELFAPP . This works for my use case.
It looks like you're new here. Sign in or register to get started.