ScriptRunner and Scripting
NoSuchMethodError on some scripts/reports (PAS-10740)
This issue occurs due to a potential mismatch in the ant and ant-launcher jars. If you encounter a “NoSuchMethodError” when attempting to run a script or report, replace the ant-launcher jar file in the webapps directory with ant-launcher-1.8.3.jar.
Space in command-line argument to scriptRunner Scripts
Some users are reporting issues in running scriptRunner scripts if the command line argument to the script contains a space. This issue can be addressed by surrounding the line argument with single or double quotes.
For example, to pass the project name “My Project” to the exportWorkspaceData.groovy script, use the following commands:
Linux
./scriptRunner.sh -u myUser -c http://localhost:8888/palamida/ ../scripts/exportWorkspaceData.groovy -project 'My Project'
Windows
./scriptRunner.bat -u myUser -c http://localhost:8888/palamida/ ../scripts/exportWorkspaceData.groovy -project "My Project"
Changes to scriptRunner library jars causing issues for older scripts
Scripts that rely on older POI libraries may not work in this version of the product.
Workaround: Manually add the libraries to the /scriptRunner/lib directory, and modify scriptRunner.conf file to include the jars. As an alternative, modify the script for compatibility with POI 11.