Forums

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

found a dead link

holger.schaaf
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!
August 4, 2025

Hi there - I try to get a new PAT by using invoke-jiramethod/invoke-restmethod but sadly I only get back:

Invoke-JiraMethod: Oops, you've found a dead link. - JIRAdocument.body.className += " js-enabled";Oops, you've found a dead link.Go back to the previous pageGo to the Home Page

The URI I use: https://[company].atlassian.net/rest/pat/latest/tokens

Any suggestions?

 

2 answers

1 accepted

4 votes
Answer accepted
Sunny Ape
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.
August 4, 2025

the API documentation was the first thing I read

Jira CLOUD doesn't use Personal Access Tokens (PATs), only Jira DATA CENTER does. You're probably reading the wrong documentation, as Jira Cloud doesn't provide any method of getting / creating user API Tokens via its REST API.

If you Google "Can I get a new API token using the Jira Cloud REST API?" you'll find all the previous times that question has been asked.

0 votes
Sebastian Krzewiński
Community Champion
August 4, 2025

Hi @holger.schaaf 

 

Check API documentation if Atlassian didn't change something or ask Atlassian support about that. For me it looks like Atlassian changed something regarding tokens.

 

Regards,

Seba

holger.schaaf
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!
August 4, 2025

the API documentation was the first thing I read.... thats where rest/pat/latest/tokens comes from ;-)

Sunny Ape
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.
August 4, 2025

.

Suggest an answer

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

Atlassian Community Events