From the document:
https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/
Use this way I can get my projects data:
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'
I set my scope setting to read:jira-work
both in developer console and my web application:
scope: [‘read:jira-work’],
But when I try to get other data such as boards, sprints and issues in my web application:
/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}
For example: https://api.atlassian.com/ex/jira/11223344-a1b2-3b33-c444-def123456789/rest/agile/1.0/board
All of them got 401 error:
Access Token Error Request failed with status code 401
What scope should be added to get these data?