You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
hello, where should the ./scripts and ./scriptrunner directories be located when using Jira Data Center? The default/installation directory is created on the (Ephemeral/Non-replicated) 'local home' directory? But in a clustered environment this isn't shared between instances:
should me specify a replacement/new 'script root' on the shared drive as per:
Thank you for your question.
I can confirm that when running Jira Data Center that you need to ensure that you place all of your scrips inside of the shared-home/scripts directory as this is a shared Jira home directory which is shared across all nodes inside of the data centre instance.
I can confirm that Atlassian has produced a guide located here on how to set up a shared Jira home directory that you can follow if you need to set this up.
I hope this information helps.
Thanks Kristian, Joshua for your time and consideration, I confirm that thanks to you we understand that the scripts need to be located on a shared location, however what is the recommended steps to configure Jira to search in that location?
As per; https://scriptrunner.adaptavist.com/6.13.1/jira/ it details to specify a 'script root' via jvm args.
In the interim, we have symlinked the [local_home]/scripts directory to a shared location on each cluster node, which appears to work.
I can confirm that the way published in the documentation is the best way to configure this and is the way we would recommend.
I can also confirm that you can see details of how to configure the JVM settings for a Jira instance the Atlassian page located here which you may find useful.
If you require further assistance with setting this up, then I would advise raising a support ticket here so that one of my colleagues in the ScriptRunner for Jira Server team can advise you on how to best configure this on your server.