Can't access sprint data due to permission

Sameh Mohamed
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!
July 21, 2022

I am trying to access this API where I get the sprints inside the board :

async function getBoardSprint(boardId)
{
const response = await api.asUser().requestJira(route`/rest/agile/1.0/board/${boardId}/sprint`);
}


I keep getting this error message

errorMessages: [
'Access to the resource was denied due to missing scope grants. Your app was granted the following scopes: [offline_access, read:me].\n' +
'The resource can be accessed by having one of these groups of scopes:\n' +
' * [read:sprint:jira-software]\n'
]

I updated my manifest but does not help

permissions:
scopes:
- read:board-scope:jira-software
- read:issue-details:jira
- read:sprint:jira-software

2 answers

0 votes
berecom July 22, 2023

Hi @Sameh
I am currently experiencing the same issue. Have you ever found a solution for that?

0 votes
Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 27, 2022

Hi

I have been working on some Forge development recently.

If I change the manifest in forge I would have to redeploy.

The next time the app runs I would have to accept the new permissions required.

What are you developing in?

Tom

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD Trial
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events