Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,702
Community Members
 
Community Events
165
Community Groups

Jira on-prem/cloud API Personal Access Token (PAT)

Already spent a lot of time and can't find in the documentation how to use Bearer with Jira Cloud.

Jira on-prem allows to create a Personal Access Token (PAT) you can then add to the request headers as:

"Authorization: Bearer Mzcx..."

Jira Cloud allows to create an API Token you can't then add as a Bearer, but you'll need to use basic auth as:

-u email@address.com:Mzcx...

Additionally, Jira documention often mentions that basic auth is/is about to be deprecated for security concerns.

I want to be able to keep things easy and use the Personal Access Token (PAT) mechanism with Bearer both on-prem and on-cloud. Is this possible at all? Am I missing something?

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you