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.
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 . This works for my use case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.