I want to write a small script locally accessing a local Jira server. My problem is finding a fast and easy authentication method.
According to https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-cookie-based-authentication/ cookie authentication is depracated.
According to https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-basic-authentication/ basic authentication with password is deprecated.
According to this answer https://community.atlassian.com/t5/Jira-questions/Create-API-token-for-a-user-in-Jira-Server-Locally/qaq-p/834864 Basic Auth with Tokens is not possible on a local insallation, since you cannot create a token.
So, the only possible options is OAuth - which seems complicated and way over the top for a tiny script running on a the same local machine as the Jira server. So, what option to choose? Am I missing something?
Hi Christian
The link you are referring to is only applicable to Jira Cloud. As you are on a local installation you must be on a server instance.
I'm not aware of any deprecation of authentication methods for Jira Server.
Please check out this documentation page. Basic auth should work fine
Hi @Christian S
As @Charlie Misonne has mentioned, if you are using a local instance and you are using the script in your env, then basic authentication is good enough and is not deprecated.
If you are using the cloud instance, then you can use the basic authentication with username and API token instead of password.
Only the Basic Authentication with username and password is deprecated. The username with API token basic authentication is still supported.
- Arun
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.