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.
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.
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!
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot