Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Location of Scriptrunner scripts on Jira Data Center

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:


2 answers

1 accepted

2 votes
Answer accepted

Hi Paul,

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; 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.

Hi Paul,

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. 



Thanks Kirstin

Hi Paul,

Look in to see where the shared home is located. Cheers!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

255 views 0 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you