Hello Team! I reaching out bc we have an API integration, and when te customer wants to list all it's projects through the integration, is getting this error
Hi @maria cammisa,
To get all Jira projects and issue types, use the method /rest/api/2/project and the method /rest/api/2/issuetype. Please refer to the Jira Data Center API documentation.
Hi Ksenia! thanks for your answer! does the expand works with this endpoint?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@maria cammisa, no, you can get issue types for specific projects only. Use this method:
/rest/api/2/project/{projectIdOrKey}
Replace {projectIdOrKey} with your project key.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks Again Ksenia! so there's no way to retrieve all projects with their issuetypes in one request? like in jira cloud I'm able to retrieve all in once using projects/search&expand=IssueTypes, there's no way to make something similar on jira server?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Indeed, there's the method /rest/api/3/project/search for Jira Cloud that gets all in once, but I can't find any method that will work he same way for Jira Data Center... You see, API for Jira Cloud and Data center differs from each other.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.