Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,256,595
Community Members
 
Community Events
164
Community Groups

OAuth 2.0 is not enabled for this method

Hello!

I get an error ("OAuth 2.0 is not enabled for this method.") when trying to get sprints lists.
Please, clarify if all these requests are supported with OAuth?


https://api.atlassian.com/ex/jira/XXX/rest/agile/1.0/board/filter/projId - ["OAuth 2.0 is not enabled for this method."]

https://api.atlassian.com/ex/jira/XXX/rest/agile/1.0/board/1/sprint - ["OAuth 2.0 is not enabled for this method."]

https://api.atlassian.com/ex/jira/XXX/rest/greenhopper/latest/sprint/picker - ["OAuth 2.0 is not enabled for this method."]

Thanks

 

1 answer

For people who are searching for this.

I think you have to use the new paths as listed here (im still trying to get this working):

The examples look like this:- 

curl --request POST \
--url 'https://your-domain.atlassian.com/rest/agile/1.0/board' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{ "filterId": 10040, "name": "scrum board", "location": { "projectKeyOrId": "10000", "type": "project" }, "type": "scrum" }'

 

Also, you have to enable the new granular scopes in your app. It took me a while to find it - its in the blue banner that says

View new permissions

Click below to view new permissions for your app that provide more fine-grained data access.

If I get this working ill report back, because this is the first hit in google for this error

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

1,468 views 11 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you