I am integrating JIRA APIs to get issue import from user's JIRA account. For this, I have used OAuth. I have successfully setup the system by following the link
https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/
But now the issue is that, while fetching data from API
https://api.atlassian.com/ex/jira/<cloud-id>/rest/api/2/project
I am getting empty array.
I have added some issues in my jira account, and also, my local app is listed in `manage app` settings. But I am still not getting the issue list.
Hello @Vineet tanwar
Welcome to the community.
In the documentation for the REST API documentation
https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/#version
...it says...
So, the first part of the endpoint needs to be your site URL for your JIRA instance, not "api.atlassian.com".
After that, it depends on exactly what data your are trying to retrieve. What data are you trying to retrieve?
Hii @Trudy Claspill ,
Thanks for your reply,
I have read the document, but I could not found the way to get list of all issues,
from the URL. It is saying that issueIdOrKey is required, and for getting the list, I think, in our application, we would't have any issueIdOrKey.
Also, I am using OAuth, so can you please tell, how to pass the CODE, which I got from redirecting after getting allowance from user's JIRA account, in request body to call the GET API.
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.