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

Cannot cast com.onresolve.scriptrunner.canned.jira.utils.ConditionCustomScriptDelegate to com.onresolve.scriptrunner.canned.jira.utils.CustomScriptDelegate

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.3.1, 5.3.7
    • Fix Version/s: 5.4.11
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 37 - Ends Jan 29, Sprint 38 - Next
    • Critical Points:
      2.3

      Description

      Upgrading to SR 5.3.1 causes problems with CloneIssue in some instances, this is not easily reproduced. 

      2018-02-09 16:43:25,777 http-nio-8080-exec-18 StartTime "2018-02-09 16:43:23.389" RequestURI "/secure/WorkflowUIDispatcher.jspa" QueryString "id=1132032&action=51&atl_token=BKDH-D85H-3YSI-IER0|191d8dba1a74fe45131bca4ddc86d8d50bb12292|lin&decorator=dialog&inline=true&_=1518191003370" User "mjacob" ERROR mjacob 1003x359x1 19uaem7 10.129.17.198,10.192.144.36 /secure/WorkflowUIDispatcher.jspa [c.o.s.jira.workflow.ScriptWorkflowFunction] Script function failed on issue: DECA-78461, actionId: 51, file: null
      org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'com.onresolve.scriptrunner.canned.jira.utils.ConditionCustomScriptDelegate@45a81904' with class 'com.onresolve.scriptrunner.canned.jira.utils.ConditionCustomScriptDelegate' to class 'com.onresolve.scriptrunner.canned.jira.utils.CustomScriptDelegate'
              at com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.CloneIssue.<init>(CloneIssue.groovy:26)
              at com.onresolve.scriptrunner.runner.ScriptRunnerImpl.getParams(ScriptRunnerImpl.groovy:482)
              at com.onresolve.scriptrunner.runner.ScriptRunner$getParams$8.call(Unknown Source)
              at com.onresolve.scriptrunner.jira.workflow.ScriptWorkflowFunction.executeInboundTransformation(ScriptWorkflowFunction.groovy:250)
              at com.onresolve.scriptrunner.jira.workflow.ScriptWorkflowFunction$executeInboundTransformation$2.callCurrent(Unknown Source)
              at com.onresolve.scriptrunner.jira.workflow.ScriptWorkflowFunction.run(ScriptWorkflowFunction.groovy:164)
              at com.onresolve.scriptrunner.jira.workflow.ScriptWorkflowFunction$run$3.callCurrent(Unknown Source)
              at com.onresolve.scriptrunner.jira.workflow.ScriptWorkflowFunction.execute(ScriptWorkflowFunction.groovy:93)
      

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ahasan Ashraful Hasan [X] (Inactive)
              Reporter:
              dyelamos Daniel Yelamos [X] (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: