Accessing Jira_home environment variable in groovy

Carlos David September 20, 2017

Hi,

I would like to remove all hard-coded urls from my various groovy listeners and simply reference a single .properties file, located in my jira home directory. For that I need some kind of environment variable so I can supply only soft links to the configuration file in my listeners.

Is it possible to access a JIRA_HOME environment variable in a groovy script, or failing that the catalina_base java option?

 

Thanks

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events