Uploaded image for project: 'ScriptRunner for JIRA'
  1. GRV-873

Exception when attempting to copy a project using "built-in scripts"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0.4
    • Fix Version/s: 4.2.0.5
    • Component/s: None
    • Labels:
      None
    • Environment:
      RHEL6
    • Internal Complexity:
      Unknown
    • Internal Value:
      Unknown

      Description

      This issue has moved

      This issue has been moved permanently to Adaptavist's Product Support JIRA instance.

      All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the
      Can't access your account link in order to reset to a new password.

      When trying to copy a project via built-in scripts we get the exception below:

      org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'com.atlassian.jira.issue.issuetype.IssueTypeImpl@fffffff8' with class 'com.atlassian.jira.issue.issuetype.IssueTypeImpl' to class 'org.ofbiz.core.entity.GenericValue'
      at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7$_closure15$_closure16$_closure17.doCall(CopyProject.groovy:453)
      at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7$_closure15$_closure16.doCall(CopyProject.groovy:452)
      at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7$_closure15.doCall(CopyProject.groovy:438)
      at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7.doCall(CopyProject.groovy:434)
      at com.onresolve.scriptrunner.canned.jira.admin.CopyProject.doCopyProject(CopyProject.groovy:433)
      at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$doCopyProject$0.callCurrent(Unknown Source)
      at com.onresolve.scriptrunner.canned.jira.admin.CopyProject.doScript(CopyProject.groovy:290)

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                jechlin jechlin
                Reporter:
                alundstroem Andreas Lundström

                Dates

                • Created:
                  Updated:
                  Resolved: