does jira has the ability to specify a file path for the database password in dbconfig.xml

tripti agarwal January 17, 2024

Tried to put the path of the file with db passowrd in the dbconfig.xml file.

<password>/path/to/jira-db-cred.txt</password> . is it feasible. I m getting jra cannot read error currently. 

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 18, 2024

Welcome to the Atlassian Community!

No, the XML tag <password> takes text.  There's no command to read another file in there.

Jira is reading the password to be "/path/to/jira-db-cred.txt", it probably throws a can't read error because you have not escaped the / in there.

Suggest an answer

Log in or Sign up to answer