Can't create Personal Access Tokens

Walid October 8, 2023

I'm following this guide but i can't find the left-hand menu section mentioned here: guide 

Creating PATs in the application

All users are allowed to create their own PATs, which will match their current permission level. To create the tokens, you may follow these steps:

  • In Jira, select your profile picture at the top right of the screen, then choose Profile. Once you access your profile, select Personal Access Tokens in the left-hand menu

Has something changed?

2 answers

0 votes
Walid October 11, 2023

By following This guide  I could get a 200

The missing step was to encode my email with the API Token. and use that for the API call

0 votes
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 8, 2023

Hi @Walid 

 

You can create an API token from your Profile > Manage your account (on top of About section on the left) 

You will be redirected to Atlassian Account page, then click on Security. You should be able to create API Tokens from there.

Also available directly from here.

Regards

Walid October 8, 2023

Thanks @Florian Bonniec but I've tried to create an API Token but I'm getting a 403 Forbidden from my API call, searching for guide I came up to this question that says

'it appears that API tokens and PAT's (Personal Access Tokens) are _not_ the same.'

Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 10, 2023

PAT are for JIRA Data Center, on Cloud you need an API token. Have you try other endpoint to test your api token ?

 

Regards

Walid October 11, 2023

@

Yes I've tried a basic GET https://xxx.atlassian.net/rest/api/2/project
with Bearer token as the API Token in Postman

so Authorization : Bearer xxxxxxx

and the response is a 403

{
"error": "Failed to parse Connect Session Auth Token"
}
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 11, 2023

Hum can you try to use basic auth using your username but use the token instead of your password ?

 

Regards

Sarin Rajendran
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!
April 15, 2024

Yes, that works. Unlike the PAT, the API token appears to function as a password and can be used with basic auth. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events