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

0 votes
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events