Forums

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

what scopes should i need, if i want to fetch teams, tasks, sprints, issues through REST API's

kiran S
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!
May 27, 2024

hi, I am currently developing a project management application using Jira APIs. I have implemented OAuth 2.0 for user authorization. However, I am encountering an error when attempting to fetch certain API data. The error message is as follows:

 

{     "requiredScopes": [         "view:team:teams"     ],     "statusCode": 403,     "classification": "InsufficientOAuthScopes",     "aggUgcPiiSafe": true,     "errorSource": "GRAPHQL_GATEWAY" }

 

I have attempted to use both classic and granular scopes, but I am unable to resolve the issue. Additionally, I cannot locate the specific scopes required by the API in the Jira console. Could someone please provide guidance on how to address this problem?

 

Thank you very much for your help.

1 answer

0 votes
Heenaben Sardarbhai Chaudhary
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.
May 28, 2024

Hi @kiran S ,

 

you can use below jira cloud API document to fetch required infomation. it contains everything which you want to fetch sprints ,tasks ,issues.

 

Sprints required : manage:jira-project

tasks required :  read:jira-work

 

Screenshot (1264).png

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-screens/#api-rest-api-3-screens-get 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events