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)
In xyz.atlassian.com
My cloud URL = https://prohance.atlassian.net/secure/Dashboard.jspa
Here I am accessing Rest API with basic auth by username and password(plain).
(Here i know my API token from id.atlassian.com)
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.
Or
2. What will be the URL in my locally installed Jira Server for going to the page id.atlassian.com given in below image
Appreciate your Quick response.
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
Cheers,
Roman
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.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
Roman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Praveen,
Did your issue get resolved? If not, I just wanted to mention that we have created an app where you can create API tokens within the Jira server.
You can evaluate it for free here:
Thanks,
Ankit
PS: I work for the miniOrange, the vendor who has published this app to the marketplace.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ankit
Thank you for your contribution here however, I'd like to remind you of our Atlassian Community Online Guidelines for Marketplace Vendors, particularly on necroposting:
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.
Please be sure when promoting your products, the thread has had activity within the last 6 months, or it is considered necroposting.
Thanks for your understanding!
Cheers,
Darline
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the questions are very clear
1. How to get API token in local Jira Server. or self-hosted JIRA.
Or
2. What will be the URL in my locally installed Jira Server for going to the page id.atlassian.com given in the above image?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hassan,
It is not possible to generate API tokens in Jira Server.
Let me know if you have any questions.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Is there any versions of Jira server that is going to allow for API tokens?
Cheers,
Gaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gaj,
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.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wow this seems like a significant oversight :(
This essentially forces the user to
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Shannon S https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/ talks about deprecating basic auth in Cloud. I'm on Jira & Confluence server editions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Thanks,
Nicolas H.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nicolas,
There's actually already a case for Bamboo; you can vote for it here:
Thank you for reaching out!
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.