Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

OAuth 2.0 not supported for Get Issue API

I'm getting the error OAuth 2.0 is not enabled for this method. when sending a GET request to this URL: https://<domain>.atlassian.net/rest/agile/1.0/issue/<issueKey> and using an OAuth 2.0 (3LO) access token.


The Jira Software Cloud REST API Documentation seems to indicate that either OAuth 1.0a or Basic Auth can be used, but from other parts of the documentation and code samples, it seems that OAuth 1.0a has been superceded by 2.0.

Does the Jira Software Get Issue API support OAuth at all?

1 answer

1 accepted

0 votes
Answer accepted

Hello @Vincent Fiestada

Welcome to the Atlassian Community!

Can you please confirm exactly what you are trying to achieve with the REST API you are using? More precisely, what kind of information you are trying to get from the issue?

As you can see in the feature request below, OAuth 2.0 is available for Jira Core (the Base application) and Jira JSM, however, some endpoints from Jira Software are still not supported:

OAuth 2.0 Support 

That being said, the endpoint you're currently using is related to Jira Software application, which does not support OAuth 2 yet.

If you are trying to get only the default issue fields and features, you can use the following Endpoint of Jira Core:

GET  https://<domain>.atlassian.net/rest/api/3/issue/{issueIdOrKey}

Now, if you looking for any specific detail provided by the other endpoint you're currently using, you must use OAuth 1.0. Also, Feel free to vote and watch the suggestion below to implement the support for OAuth 2.0 in Jira software endpoints:

OAuth 2.0 for all the JSW REST API endpoints 

Let us know if you have any questions.

I guess my issue was that it was unclear in the documentation and examples whether OAuth 2 was supported. I can't even find any OAuth 1 examples anymore. I think the way it's conveyed in the docs can be improved.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,138 views 8 28
Join discussion

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