Hi Atlassian Community Developers,
I am currently working a project where I am integrating Jira with ServiceNow.
I have a requirement to get all the issues under a specific project in Jira. In going through the Jira API documentation I came across this API which however does not seem to work for me:
/rest/api/2/issue/createmeta/{projectIdOrKey}/issuetypes
When I try the above API I get the error as shown in the attached screenshot.
Do you guys know why this is not working for me?
Is there an alternative to this API that I can use to accomplish what I am looking for.
Kindly advise please.
Thanks,
Johannes
Hi Laurie, thanks for your response. It actually worked, it turned out I made a mistake however @Thuan_ Do Dang below pointed it out and I was able to test the API you provided above using postman and this time after correcting the typo it works as expected. Thanks you vey much, greatly appreciate it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @jmweli ,
I checked the APIv3 above and it works. I think you used projectKey instead of projectId.
To get projectId by projectKey, try this API
/rest/api/3/project/{projectIdOrKey}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes it does work!!
Thank you so much @Thuan_ Do Dang you are the greatest. I am new to Jira and I have a very tight deadline for the integration. You have saved the day.
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.