Save Scriptrunner scripts from IDEA to server script root

ralfeus
Contributor
April 25, 2018

Hi.

I'm trying to use IDEA to work with my Scriptrunner scripts. The question is how to create a script in the script root of the server (Jira in my case). When I specify in the admin console file's name and click on IDEA icon it switches to IDEA and asks whether I want to create a file. I agree, it creates a local file but never saves changes back to the server. 

Is it expected behavior? If so is there any way to edit server files in IDEA besides scp them to the server?

1 answer

1 accepted

0 votes
Answer accepted
ralfeus
Contributor
April 27, 2018

It turned out the page of script editing should be continuously open while script is edited in IDEA

Moreover in order to access admin functions (part of which scripts management is) websudo is required. Therefore when admin session is timed out it's necessary to refresh it then reopen script in IDEA and save it. 

It isn't the most convenient way of working with scripts but at least it works.

Suggest an answer

Log in or Sign up to answer