Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Managing Assets scripts with Script Runner

Mariusz Piotrowski
February 11, 2026

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

2 answers

Suggest an answer

Log in or Sign up to answer
3 votes
omar_blagui
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2026

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 

 

 

0 votes
Rilwan Ahmed
Community Champion
February 11, 2026

Hi @Mariusz Piotrowski ,

You need to set the script root property and then you can edit from Console.

Creating a new script root

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:

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

TAGS
AUG Leaders

Atlassian Community Events