Unable to access Jira Rest API

goutam.chalkikar
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!
November 26, 2019

I am unable to get data using POSTMAN for by jira Rest API GET:_- https://yash123.atlassian.net/rest/api/2/issue/TASK-1 

I have given basic auth username and password .which i used while creating lira account.

I am getting 401 unauthorised error.

Please suggested what's going wrong here?

Do i need to enable any permission in Jira or any other thing?

 

1 answer

1 vote
robert Mugabuhamye
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.
November 26, 2019

hello, 
you should generate and api token using this document https://confluence.atlassian.com/cloud/api-tokens-938839638.html

REgards

Warren
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.
November 26, 2019

And don't forget that you should use your Jira e-mail address and API token (NOT username)

Like robert Mugabuhamye likes this

Suggest an answer

Log in or Sign up to answer