Details
Description
Problem
When you install Service Desk (or Jira Software) after ScriptRunner then whenever a function that involves Service Desk (like Copy Project) is executed the following error is thrown
[c.o.scriptrunner.runner.AbstractScriptListener] Script function failed on event: com.atlassian.jira.event.issue.IssueEvent, script: com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.CreateSubTask
java.lang.NoClassDefFoundError: Could not initialize class com.onresolve.scriptrunner.canned.jira.utils.servicedesk.ServiceDeskUtils
at com.onresolve.scriptrunner.canned.jira.utils.AbstractCloneIssue$_copyCustomFieldValues_closure3.doCall(AbstractCloneIssue.groovy:324)
at com.onresolve.scriptrunner.canned.jira.utils.AbstractCloneIssue.copyCustomFieldValues(AbstractCloneIssue.groovy:306)
at com.onresolve.scriptrunner.canned.jira.utils.AbstractCloneIssue.doScript(AbstractCloneIssue.groovy:175)
This also causes JSD projects to not show in the menu.
Workaround
The workaround is to uninstall and then reinstall ScriptRunner. There is no danger in losing any data or configured items.
Attachments
Issue Links
- is duplicated by
-
SRJIRA-3105 If install Service Desk after SR you get a NoClassDefFoundError for the ServiceDeskUtils class and have to reinstall SR
-
- Done
-