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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,456,306
Community Members
 
Community Events
176
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: 

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

Atlassian Community Events