How to expand ProjectForScope while fetching issue types

I am using Get all issue types for user REST API to fetch issue types present in the system.

I need to know which project these issue types belong to. I only get ‘scope.project.id’ in my response, but not ‘scope.project.key’ & ‘scope.project.name’ ( as seen in sample response).

Do I need to send any expand parameters to get the key and name of the project?

Thanks in advance.

Hi @anon62119125,

The /rest/api/2/issuetype resource doesn’t take any parameters such as expand and it seems, contrary to the documentation, that it doesn’t report any other project details.

Instead, you can call rest/api/2/project?expand=issueTypes to retrieve all the projects and expand the details of each project’s issue types.

Regards,
Dugald