Since JSM 5.16 Atlassian moved Assets scripts to /var/atlassian/application-data/jirasd/plugins/assets/groovy_scripts. Is it possible to add this path to Script Runner Script Editor? I would like to manage those scripts using UI and don't need to log in to server via ssh.
Cheers,
Mariusz
Hello @Mariusz Piotrowski
I haven't tested it, but it should be possible as long as ScriptRunner can access that directory by adding it as a script root. Try adding /var/atlassian/application-data/jirasd/plugins/assets/ as a root folder. You can find the official Adaptavist documentation in this Link
Hi @Mariusz Piotrowski ,
You need to set the script root property and then you can edit from Console.
You may want to create a new script root that points to a place where you have previously set up scripts. For example, if you want to add /usr/opt/scripts as a new script root, you need a new property that points to your scripts directory:
/usr/opt/scripts
set JAVA_OPTS=%JAVA_OPTS% -Dplugin.script.roots=/usr/opt/scripts
If you have multiple roots, make sure you use a comma to delimit them.
More details in https://docs.adaptavist.com/sr4js/9.x/features/script-console#executing-script-console-scripts-remotely
It looks like you're new here. Sign in or register to get started.