Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-43776

New Global Actions cause errors in Workflow designer when imported into older JIRA versions

    XMLWordPrintable

Details

    Description

      Global actions were re-introduced into JIRA in the JIRA 6.4 release. See JRA-36498

      When you attempt to import this workflow into any JIRA before this, you receive the following errors:

      /rest/workflowDesigner/latest/workflows [plugins.workflowdesigner.layout.WorkflowLayoutsImpl] Error serializing workflow layout for workflow EXS Default Workflow, draft = false
      com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializationException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "loopedTransitionContainer" (Class com.atlassian.jira.plugins.workflowdesigner.layout.Layout), not marked as ignorable
       at [Source: java.io.StringReader@525d0cab; line: 1, column: 2363] (through reference chain: com.atlassian.jira.plugins.workflowdesigner.layout.Layout["loopedTransitionContainer"])
      	at com.atlassian.jira.plugins.workflowdesigner.utilities.JsonSerializer.deserialize(JsonSerializer.java:37)
      	at com.atlassian.jira.plugins.workflowdesigner.layout.LayoutSerializerImpl.deserializeFromJson(LayoutSerializerImpl.java:30)
      	at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getLayout(WorkflowLayoutManagerImpl.java:108)
      	at com.sysbliss.jira.plugins.workflow.manager.WorkflowLayoutManagerImpl.getExistingLayoutOrCreate(WorkflowLayoutManagerImpl.java:72)
      

      So on and so forth.

      Workaround:

      1. Download a copy of the workflow-designer for 6.4.0 workflow-designer-plugin-6.4-D20150109T010200.jar
      2. Stop your currently running JIRA.
      3. Replace the workflow-designer plugin in $JIRA_INSTALL/atlassian-jira/WEB-INF/atlassian-bundled-plugins/ (It will be named workflow-designer-plugin-6.3.xx.jar where xx is the version number) with the copy you downloaded in step 1.
      4. Restart JIRA.
        This has only been tested for JIRA 6.3.x

      Attachments

        Activity

          People

            Unassigned Unassigned
            38c2db200d62 Steven F Behnke
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: