The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Forge App: 401 Unauthorized; Scope Does Not Match for API Request

Valueit
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 16, 2025

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.png

Code Snippet:

code.png

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'



1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Marc -Devoteam-
Community Champion
April 16, 2025
Valueit
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 17, 2025

thank you,
but its not working

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events