Global Loop workflow transitions are not migrated with JCMA

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Issue Summary

      Global looping workflow transitions (As described here) are lost during a JCMA migration.

      This is reproducible on Data Center: Yes

      Steps to Reproduce

      1. Create Jira project
      2. Create a Jira workflow transition that goes from All to Itself
      3. Migrate the project with this workflow

      Expected Results

      The workflow is migrated with all transitions

      Actual Results

      The global looping workflow transitions are missing.

      Workaround

      Recreate the transitions manually for each workflow after migration.

      Affected workflows can be located using the following Postgres SQL query:

      select j.id , j.workflowname , workflow_action.name as transition_name , workflow_action.view , workflow_action.fieldscreen, workflow_action.next_step
      from jiraworkflows j, 
      XMLTABLE('//workflow/global-actions/action'
          passing xmlparse(document descriptor)
          columns 
              id int path '@id',
              name text path '@name',
              view text path '@view' default null,
              fieldscreen int path 'meta[@name = "jira.fieldscreen.id" and text() != ""]' default null,
              next_step int path 'results/unconditional-result/@step'
              ) as workflow_action
      WHERE workflow_action.next_step = -1;

            Assignee:
            Unassigned
            Reporter:
            Carl Adolfson
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: