I enabled the read:issue.transition:jira but error is returning

Fathima S H February 27, 2022

I am using Auth2 authentication for getting transition id.

I referred this document:
https://api.atlassian.com:443 "GET /ex/jira/{cloud_id}/rest/api/3/issue/{issue_id}/transitions HTTP/1.1" 403 None

Added the mentioned scopes in the code.

I am getting this error:
{'errorMessages': ['Access to the resource was denied due to missing scope grants. Your app was granted the following scopes: [read:status:jira, read:application-role:jira, read:project-category:jira, read:project:jira, read:field-configuration:jira, read:issue-type-transition:jira, write:issue:jira, read:issue-details:jira, read:issue-type-hierarchy:jira, write:issue.property:jira, read:user:jira, read:avatar:jira, read:issue-meta:jira, read:issue-type:jira, read:audit-log:jira, read:project.property:jira, read:project.component:jira, api_access, read:group:jira, read:project-version:jira].\nThe resource can be accessed by having one of these groups of:\n * current scopes: [read:status:jira, read:issue.transition:jira, read:field-configuration:jira]\n * deprecated scopes: [read:jira-work]\n']}

I enabled the read:issue.transition:jira in developer console and also added this scope in code. But that particular api is missing inn the error message.

Can anyone explain what I am doing wrong or do I need to enable any more scopes?

Below image has list of scopes that I enabled

Capture1.PNG

Any help is much appreciated. 

Thanks and regards

 

 

1 answer

1 accepted

0 votes
Answer accepted
Vishnu March 4, 2022

Guess, the scope read:issue.transition:jira is replaced with api_access by JIRA API, Have you got this resolved? Experiencing the same with scope in my 3LO application.

Fathima S H March 4, 2022

Not resolved this issue

Like Vishnu likes this
Fathima S H March 10, 2022

@Vishnu , Do you know how to fix this issue? 

Vishnu March 13, 2022

Actually, The bug is confirmed by the Atlassian team themselves and There is an active thread regarding this issue. If you like to know more, you can check here: Adding "read🏷jira" scope (which is required to get Labels) is causing errors in other APIs

Fathima S H March 14, 2022

Hi @Vishnu Thanks! 

Like Vishnu likes this
Vishnu March 16, 2022

@Fathima S H Guess it is fixed by now.

Like Fathima S H likes this

Suggest an answer

Log in or Sign up to answer