This question is in reference to Atlassian Documentation: How to edit the jira-config.properties file
Editing jpm.xml works, but creating jira-config.properties and overriding defaults there does not have any impact. Since which version of JIRA this should work? We are having v6.1.7.
It is available from JIRA 4.4 onwards. See https://confluence.atlassian.com/display/JIRA044/Advanced+JIRA+Configuration
But anyway did you restart the application after changes.
Yes I did restart the JIRA with:
service JIRA stop
service JIRA start
Changes at jpm.xml are impacting JIRA after restart, while changes at jira-config.properties are not affecting anything.
I also verified that read/write access is same in both files and that .properties file is in unix format.The content of the jira-config.properties look like this:
"
# This overrides the values from jpm.xls
# Modifications here need JIRA restart
# Making custom release notes for our internal purposes, that's why editing these properties
# Adding one new releasenotetemplate to list
jira.releasenotes.templatenames = Html, Text, Custom-Text
jira.releasenotes.templates=releasenotes-html.vm, releasenotes-text.vm, releasenotes-custom-text.vm
"
With these changes, I cannot make my custom releasenotes to work. With changes at jpm.xml, I can make them work.
I would like to make it correctly, so that upgrading JIRA would not override customisations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Need one more confirmation that do you place jira-config.properties
file in the JIRA home directory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually when checking, no I did not. "jira-config.properties" was at same path, where jpm.xml was. My bad.
I checked from our installation (jira-application.properties and environment variables), that we had "jira.home = /data/JIRA" at jira-application.properties and no environment variable was set. Now, when placing the jira-config.properties to /data/JIRA/, in our JIRA home directory, the problem was solved.
Thank you Bharadwaj Jannu for pointing me to the problem!
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.