Forums

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

Data Center Rest APIs work with Personal Access Token but not password

Tulika June 9, 2025

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!

1 answer

1 accepted

4 votes
Answer accepted
Ramakrishna _RK_
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.
June 9, 2025

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events