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

en666 en666 May 17, 2022

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?

 

1 answer

1 vote
Slava Dobromyslov November 30, 2022

You are right. As of today, Cloud allows only API Tokens + Auth Basic. Server/Data Center allows PATs + Auth Bearer.

Deleted user April 27, 2023

Are there any plans to change that? Curious why there would not be parity between cloud-based Jira vs Server/Data Center.

Suggest an answer

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

Atlassian Community Events