Forums

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

How to access JIRA REST API via POSTMAN with OAUTH2.0 authentication?

Hariharesan Ramesh
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!
October 14, 2022

I am able to access JIRA REST API via POSTMAN using basic authentication by generating API token, and getting the response. However the same, I could not achieve using OAuth2.0 authentication. Cold please someone guide me on this.

1 answer

0 votes
Prince Nyeche
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.
October 14, 2022

You need to provide the client_id, secret and callback URL as a JSON body that is sent to an authorization server.

The process is explained here with a step-by-step guide on how to achieve it. So on postman, you should set the URL to get the code as the callback URL and include the above as the body that's sent as a GET request.

Allow the authentication and use the code returned with a newly created JSON body of client_id, secret, code and redirect_url as well as grant type to make a POST request to the token URL which gives you the access token needed to make the subsequent requests.

Suggest an answer

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

Atlassian Community Events