Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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: 

https://scriptrunner.adaptavist.com/6.13.1/jira/

 

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.

Regards,

Kristian

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.

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. 

Regards,

Kristian

Thanks Kirstin

Hi Paul,

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

83 views 1 6
Read article

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