Forums

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

Why my Jira token doesn't work for my API requests?

Andrey Yermolov
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 12, 2019

I have an application that uses Jira APIs to get data. Use to it used Basic Authentication and worked fine. Unfortunately, Jira revoked that ability. According to Jira I should use an API Token now. I created one under my account and tried to use it as a Bearer Token or as a password. Neither one works. What should I do?

1 answer

0 votes
Alexey Matveev
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.
July 12, 2019

Hello,

API token is not used as a bearer token.

You should use it with the basic authentication. Do everything like with basic authentication, but instead of the password, use the api token.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events