Forums

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

jira rest api basic auth fail

Bo Hyoung Ko
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!
July 11, 2023

Hello.

I want to use jira rest api using basic auth.
However, if you use jira rest api by issuing api token from the jira software > profile > personal access token menu, you will always get 401 error.

If you look at the guide, they ask you to access https://id.atlassian.com/manage-profile/security/api-tokens for API token issuance.
I don't have an Atlassian account, I only have a jira software account
Should I create an Atlassian account separately for jira rest api basic auth? Can't I use an Atlassian account as a jira software account?

1 answer

0 votes
Mohanraj Thangamuthu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 11, 2023

Hello, you could create an API token from https://id.atlassian.com/manage-profile/security/api-tokens.

 

From the REST API client like postman, select Basic auth as authentication method, enter your email used to login into Jira software and then enter the API token created above. This should help. You could also create a new token and check the connection once.

Suggest an answer

Log in or Sign up to answer