Forums

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

Is it possible to use the JIRA REST API to create a Jira token?

Deric Ramsey
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!
May 29, 2025

I am interested in automating the process of creating a JIRA API token. I'd like to use the REST API to open a window and create the JIRA Token to be used for the API for REST API access.

 

Is this not possible due to security reasons? Is there any documentation that explains this is not possible? Or is it possible to do with Python?

2 answers

0 votes
Aaron Williams
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.
May 29, 2025

Hi @Deric Ramsey 

I'm fairly sure you cannot get API tokens via the rest API. You can only create them manually. 

Thanks

Aaron. 

Deric Ramsey
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!
May 29, 2025

@Aaron Williams Thats what I believe as well but is there any official documentation stating this? If you can find any it would be greatly appreciated. Thanks for your input

Aaron Williams
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.
May 29, 2025

@Deric Ramsey I think that is the link @Pallavi Shirodkar shared: https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/

 

You'll see the section on creating your API token, I'm Atlassian would state here if you could create it via API if it were possible. 

Suggest an answer

Log in or Sign up to answer