It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create API token for a user in Jira Server Locally.

In My Locally set up Jira server

My Current local URL=http://localhost:8080/secure/Dashboard.jspa

I am accessing Rest API with basic auth by username and password(plain).

(I don't know my API token)



My cloud URL =

Here I am accessing Rest API with basic auth by username and password(plain).

(Here i know my API token from

I am able to access Rest API by both 

 a. Username and Plain Password

 b. Username and API token


As i read Plain Password over basic auth is deprecated. So asking this.

My Question is

1. How to get API token in local Jira Server.


2. What will be the URL in my locally installed Jira Server for going to the page given in below image



Appreciate your Quick response.

2 answers

Hello Praveen,


Yes, this functionality does not exist in Jira server,

However, you can use the plugin I have developed.

Check that out API Tokens for Jira




Hi Roman,

Thank you for sharing, however, please keep in mind the Vendor Guidelines, specifically:

No necroposting: Aka, no "raising threads from the dead." In general, avoid posting on old threads (six months or more old) simply to promote your products.

If you notice a recent thread can be solved by your add-on, please feel free to share!

Thank you for your understanding.



Hi Shannon,

Regardless of outdated question (more than six months), it is still actual and JRASERVER-67869 still not resolved.

However, if you find my commend inappropriate please remove it because I haven't found the "Delete" button.

Btw, thanks for the Vendor Guidelines link!

Best Regards,


Like David Lasker likes this

Hello Roman,

Don't worry, you don't need to delete your reply.

I do not consider this thread to be outdated, as you mentioned, but it has not had activity on it for over 6 months. When sharing your add-on as a solution, just be sure not to do so on threads which haven't had activity for 6 months or longer. 

The feature request JRASERVER-67869 is still active, so please feel free to share your solution there; it has potential to reach more people.

Let me know if you have any questions about that.



0 votes

Hello Praveen,

This page does not exist in Jira Server. In order to authenticate, you can use OAuth, Basic, or Cookie Authentication, depending on what you're doing.

Let me know if you have any questions about that!



the questions are very clear


1. How to get API token in local Jira Server. or self-hosted JIRA.


2. What will be the URL in my locally installed Jira Server for going to the page given in the above image?

Like friederbluemle likes this


It is not possible to generate API tokens in Jira Server.

  1. As mentioned earlier, in order to authenticate, you need to use OAuth, Basic, or Cookie-based authentication, depending on what you're trying to do. I have linked those above if you are not familiar with those methods.
  2. Therefore, there is no URL in your locally installed Jira Server to go to the page above. The page above is for Jira Cloud only.

Let me know if you have any questions.



Like # people like this


Is there any versions of Jira server that is going to allow for API tokens?



Hi Gaj,

Not in the near future, but I've raised a feature request for this below that you're welcome to vote on and comment with your usage case:



Like Jonathan Hult likes this

Thank you Shannon. Is basic auth going to be deprecated on Jira server too or it will only be done once API tokens are available on Jira (and Confluence) servers too? 


Which product are you referring to that had basic auth deprecated? The original post was regarding plain passwords being sent over basic authentication, but not basic being deprecated entirely.

At this time it's only possible to generate an API token on our Cloud apps. We do not have plans in our upcoming roadmap to implement the token system in Server. You're welcome to vote on the request above to help show the team that there is an interest in this feature.

I'm not able to speculate on what would happen if this were to occur. However, I do not foresee this happening since basic authentication is still possible in Cloud apps.

If you wish to authenticate Jira Server API, our recommended usage of Basic Authentication is outlined from our developer site.



Wow this seems like a significant oversight :(

This essentially forces the user to 

  1. Introduce significant security risks by having to
    1. Use clear username/passwords
    2. Create a "special system" (dummy) user
  2. Increase cost by reducing integration options and creating specialist integration points
    1. Requiring an "OAuth-compliant web application" <-- i.e. not using Excel or a script 
    2. Writing a fully fledged plugin
  3. Migrating your data and paying for JIRA Server
    1. This feels like a forced option and is in danger of being perceived as manipulation of buying choices by deliberate user frustration
Like # people like this

Hi Gaj,

Thank you for pointing that out to me! I hadn't heard this and I'm not on the developer site nearly enough so I wasn't aware of the changes. I've submitted your concern now via the feature request I sent you earlier.

I created one as well for Confluence just now:

Please also vote on that and comment with your feedback. It will greatly help us.

@Rob Pointer, if you could do the same, by providing your feedback directly on the feature request. The development team will be able to see your feedback right from the feature request and address any concerns with the implementation of such a feature.



Hi Shannon,


I voted for the two tickets, would it also be possible to create a ticket for bamboo?

I'm using server version of Bamboo, Jira, Bitbucket and Confluence, and having some consistency on the API would be of great help.

Currently only Bitbucket server has the token.



Nicolas H.

Hi Nicolas,

There's actually already a case for Bamboo; you can vote for it here:

  • BAM-12095 Provide token based access to Bamboos REST API

Thank you for reaching out!



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

347 views 1 3
Join discussion

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