It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
We are testing an upgrade of JIRA from version 6.1.3 to 6.4.5 and have updated the Script Runner plugin. Now we are getting a Warning message in the logs every time a script is enacted via workflow. Can you let me know why we are getting these and what we can do to fix these warnings so that we don't get them? Is there a new way of handling the scripts in this version?
I tried searching the documentation but didn't find anything relating to a script root when running a script via workflow. I could only find mention of it during a plugin section.
Here is the main part of the log message:
[onresolve.scriptrunner.runner.ScriptRunnerImpl] Add a script root for this path: <Path to .groovy file>
I found this in the ScriptRunner documentation:
https://scriptrunner.adaptavist.com/4.3.1/jira/#_script_roots
I moved all of my groovy scripts to the new default directory under $JIRA_HOME/scripts, modified the Script file location in my workflows, and the WARNING message no longer appears in the log file.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreHey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.