From the Jira OAuth document:
https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/
I want to get projects, boards, sprints and issues data from REST API.
I have set read:jira-work scope in both developer console and my web application.
But only the project endpoint works since it's /rest/api/3 or /rest/api/2 type.
curl --request GET \
--url https://api.atlassian.com/ex/jira/11223344-a1b2-3b33-c444-def123456789/rest/api/2/project \
--header 'Authorization: Bearer aBCxYz654123' \
--header 'Accept: application/json'
But for these endpoints:
/rest/agile/1.0/board
/rest/agile/1.0/board/1/sprint
/rest/agile/1.0/board/1/configuration
/rest/agile/1.0/sprint/{sprintId}/issue
/rest/agile/1.0/issue/{issueIdOrKey}/estimation?boardId={boardId}
They can't be gotten via this way:
https://api.atlassian.com/ex/jira/11223344-a1b2-3b33-c444-def123456789/{api}
For example:
https://api.atlassian.com/ex/jira/11223344-a1b2-3b33-c444-def123456789/rest/agile/1.0/board
This will get 401 error:
Access Token Error Request failed with status code 401
However, I didn't find the suitable API what I need for boards, sprints and issues in /rest/api/3 or /rest/api/2.
Then how to get data except project after user finish Jira OAuth callback?
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.