Hi,
I am working on a usecase for integrating Jira Data Center with my custom application. In my custom application I invoke JIRA Rest Apis for issue fetch.
/rest/api/2/issue/{issueIdOrKey}
This api is working fine if I use personal access token. But it is not fetching data if I use user name and password in my header for authentication.
Please note that I am giving correct user name and Password in base64 encoded format. It seems that there is some setting on the Jira Data Center side which is forbidding me to use password to access Rest APIs.
Has someone faced a similar issue?
Thanks!
Hi @Tulika ,
Welcome to the Community!
By default in Jira Datacenter basic authentication is enabled, if it is not working please check the global system configuration whether it is disabled. Below is the url where you can access the option "Allow Basic authentication on API Calls", please enable it.
https://<Jira-DC-Base-URL>/plugins/servlet/authentication-config
Note: Replace <Jira-DC-Base-URL> with your jira dc url.
Please let me know if you still have any questions and accept the answer if it resolve your question. Thanks!
Regards
RK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.