Hello, this question is for Jamie Echlin or for groovy community:
When I' trying to run a script the following error appeared:
2013-02-28 00:17:47,478 ajp-127.0.0.1-8101-6 ERROR user 17x32515x1 1r787tl 68.164.136.210 /secure/WorkflowUIDispatcher.jspa [onresolve.jira.groovy.GroovyRunner] The script failed : javax.script.ScriptException: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: inversion for class: com.onresolve.jira.groovy.canned.workflow.postfunctionspackage.Script26
2013-02-28 00:17:47,478 ajp-127.0.0.1-8101-6 ERROR user 17x32515x1 1r787tl 68.164.136.210 /secure/WorkflowUIDispatcher.jspa [onresolve.jira.groovy.GroovyFunctionPlugin] Error executing post-function
javax.script.ScriptException: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: inversion for class: com.onresolve.jira.groovy.canned.workflow.postfunctionspackage.Script26
This is for just one particular script, which its first line has to import the package.
This is my first lines of the script
package com.onresolve.jira.groovy.canned.workflow.postfunctionspackage <-- This the line that may cause the problem
import com.atlassian.jira.ComponentManager
import com.atlassian.jira.issue.MutableIssue
import com.atlassian.crowd.embedded.api.User
import org.ofbiz.core.entity.GenericValue
import org.apache.log4j.Category
// Defninition of the component manager classes
def componentManager
def customFieldManager
def parentIssueFactory
def jiraAuthenticationContext
def parentIssueManager
def subtaskManager
The specification are the following
JIRA 5.0.6
groovyscript 2.0.6
Thanks