-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Low
-
None
-
Affects Version/s: JCMA - 1.9.4
-
None
-
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
- Create Jira project
- Create a Jira workflow transition that goes from All to Itself
- 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;