Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-3112

Installing Service Desk or Jira Software after ScriptRunner cause NoClassDefFoundError

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.6.5, 5.6.6
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 60, Sprint 61
    • Critical Points:
      5.7

      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

            Structure

              Activity

                People

                Assignee:
                ahasan Ashraful Hasan [X] (Inactive)
                Reporter:
                tbatagiannis Thanos Batagiannis
                Votes:
                4 Vote for this issue
                Watchers:
                15 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Structure Helper Panel