I have a forge app that can successfully call GET /rest/agile/1.0/board but it gets a 401 Unauthorized error back when calling GET /rest/agile/1.0/board/{boardId} to get a specific board.
The app has the permissions:
- read:board-scope:jira-software: {}
- read:board-scope.admin:jira-software: {}
Does anyone know what might cause this? It seems strange that it is authorized to view all boards but not specific ones.
The app is also able to call GET /rest/agile/1.0/board/{boardId}/configuration and GET /rest/agile/1.0/board/{boardId}/features without any problems so I really don’t understand why I am getting a 401
It seems like the specific Get board with ID endpoint also requires the read:issue-details:jira permission.
Try to add this permission to your manifest.yaml file and retry calling this endpoint.
2 Likes
That worked! Thank you so much