Forums

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

REST API(using OAuth) for getting Issue details

Ravi Chaganti May 15, 2023

I'm trying to fetch issue details. i'm getting below error

{"errorMessages":["OAuth 2.0 is not enabled for method: GET /rest/api/3/10037"]}

Below is the CURL

curl --request GET \
--url 'https://api.atlassian.com/ex/jira/{cloud_id}/rest/api/3/10037' \
--header 'Authorization: Bearer <Access_Code>' \
--header 'Accept: application/json'

Please note if i'm using Basic Authentication( email id and API Token in header) it's working

Issue is only when i'm trying with OAuth 2.0

0 answers

Suggest an answer

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

Atlassian Community Events