Hello Atlassian Community,
I am developing a Forge app for Jira, and I am encountering a 401 Unauthorized; scope does not match error when trying to fetch development information (branches and pull requests) for a ticket using the /rest/dev-status/latest/issue/detail API endpoint.
Context:
Here is the relevant part of my Forge app setup:
Manifest File :

Code Snippet:

Issue:
When I make the above API request, I receive the following response :
{
"code": 401,
"message": "Unauthorized; scope does not match"
}
I think the problem is in permission but i'm already added - 'read:jira-work' and
- 'write:jira-work'