I've just upgraded to JIRA 7 my JIRA 6.4 yesterday and today I've installed Script Runner Plugin for this JIRA version, but my already set up Groovy Scripts configured on Workflow transitions (i.e. clone issue or setup due date) stopped working ¿why?
Can you confirm that you have installed Script Runner Plugin for this JIRA version 4.1.4 ? If yes i would highly suggest you to raised this question using the plugin's vendor's label here for further assitance:
I'd also describe the scripts you're using and how: If they're the internal ones that Jamie's team have tested, then it's likely to be a config problem or possibly a bug If they're scripts you have written, then the most likely explanation is that you've got code that is only valid for the Jira 6.4 API and not the 7.0 stuff, and they'll need updating. (A lot has changed, I hear)
Adrian, I can confirm I've installed Script Runner Plugin 4.1.4 (the first day) and 4.2.0 today and the same problem persist, I've raised my question as you suggest. Nic, the scripts failing are the internal ones, for example, the clone issue, I've configured it on a workflow transition, the transition happens, the state is changed, but the new issue is not created (it worked ok till the upgrade to Script Runner Plugin 4.1.4). Just tested another groovy script I wrote in another transition setting due date to today + 28 days and it works ok. Thanks, Alicia
Ok, I'd raise this at http://www.adaptavist.com/w/products-plugins/adaptavist-scriptrunner/scriptrunner-for-jira/ - Jamie's team do monitor Answers and try to help out here, but they don't always pick up all the potential questions.
The latest version of Script runner 5.1.6 is not working for Jira 7.2.9 v.
What would be the issues?
In my case, we have upgraded to Jira 7.2.9 from Jira 7.0.2 and the script runner plugin got upgraded to 5.1.6 automatically, at that time user could not able to create issues in Jira and then we had to degrade the script runner plugin to 5.0.1. and was working fine.
Thanks in advance.
We have also upgraded Script Runner from 5.0.1 to 5.1.6 and had the same Problems and needed to again degrade to 5.0.1.
For Information: ( Jira Software 7.3 and Service Desk 3.3.2)
There are problems running one Script which is used in PostFuntion in a one of the Workflow. Where it says the error as
"Could not load class 'com.onresolve.jira.groovy.GroovyFunctionPlugin"
The Versions of Jira Software as well as Service Desk are not changed ( Jira Software 7.3 and Service Desk 3.3.2) since the script is written. But with Script Runner update there are problems. Looks like the Script needs to be changed ??
Also I could not figure out the error that we were unable to create Issues. "Error creating issue:
com.atlassian.jira.exception.CreateException: Could not load FunctionProvider class" is what I see in Logs. But only one of the Service Desk Project had this issue creation Problem.
The Software Projects which we have were all unimpacted and also the other Service Desk Projects.
Can you guide, what can be done to resolve it?
Thanks in advance.
I could figure out that the Issue creation problem for one of the Service Desk is due to a Script written on PostFunction of Create Event.
With downgrade everything is fine as of now, but would like to understand what changes are required in Scripts to make them work with 5.1.6 Script Runner Version.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot