Where are script files stored on Jira Data Center? / Where is the script roots folder on Jira Data Center?

When using ScriptRunner for Jira Data Center, the default location for the script roots is the <shared_home/scripts> directory. This is also the location script files are created by default when using the Script Editor.

The default script roots <shared_home>/scripts, and any custom script root directories created must be accessible to all nodes in the cluster for ScriptRunner features to be able to access the script files.

When you set up Jira Data Center, you are required to create a shared home directory that can be accessed by all nodes in the cluster. Atlassian provides more information on creating this directory.