Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains the steps required when migrating a Jira Cloud instance to Jira Server/Data Center when you were using JMWE workflow extensions on your JIRA Cloud instance. 

...

See here for the Cloud to Server migration challenges/limitations.

Migrating workflows

Before you begin fixing your workflows, publish all your workflows to avoid duplicate work (between the draft and corresponding published workflow)

Table of Contents

Step 1 - Backup the Cloud instance and open the XML file

...

  1. Find the text "DelegatingPostFunction"

  2. Right above the search under the “full.module.key” find the post-function name

  3. Write down the post-function name in the table

  4. Work your way up on the file from the line that contains "DelegatingPostFunction" to find the name of the transition on which the post-function is configured. You can identify it under the <actions> tag.

    Image RemovedImage Added

  5. Write down the transition name in the table.

  6. Work your way up further on the file from the line you have found the transition, to find the name of the workflow. You can identify it under the <Workflow> tag. Refer to the above image.

  7. Write down the workflow name.

  8. Find the next instance of DelegatingPostFunction

  9. Repeat steps 2 to 6 until you reach the end of the file.

  10. Repeat steps 1 to 7 but searching for RemoteWorkflowPostFunctionProvider instead of DelegatingPostFunction

  11. Now you will have a list of transitions and their corresponding workflow name.

...

At the end of this step, you will create a table with the workflow name and the transition names of all the workflows that contain JMWE post-functionsconditions.

  1. Find the text com.atlassian.jira.workflow.condition.JiraExpressionWorkflowCondition

  2. Below the search under the argument “full.module.key” find the condition name

  3. Write the condition name in the table

  4. Work your way up on the file from the line that contains com.atlassian.jira.workflow.condition.JiraExpressionWorkflowCondition to find the name of the transition on which the condition is configured. You can identify it under the <actions> tag.

  5. Image RemovedImage Added

  6. Write down the transition name in the table.

  7. Work your way up further on the file from the line you have found the transition, to find the name of the workflow. You can identify it under the <Workflow> tag. Refer to the above image.

  8. Write down the workflow name.

  9. Find the next instance of com.atlassian.jira.workflow.condition.JiraExpressionWorkflowCondition

  10. Repeat steps 2 to 6 until you reach the end of the file.

...

At the end of this step, you will create a table with the workflow name and the transition names of all the workflows that contain JMWE post-functionsvalidators.

  1. Find the text com.atlassian.jira.workflow.validator.JiraExpressionWorkflowValidator

  2. Below the search under the argument “full.module.key” find the validator name

  3. Write the validator name in the table

  4. Work your way up on the file from the line that contains com.atlassian.jira.workflow.validator.JiraExpressionWorkflowValidator to find the name of the transition on which the condition is configured. You can identify it under the <actions> tag.

  5. Image RemovedImage Added

  6. Write down the transition name in the table.

  7. Work your way up further on the file from the line you have found the transition, to find the name of the workflow. You can identify it under the <Workflow> tag. Refer to the above image.

  8. Write down the workflow name.

  9. Find the next instance of com.atlassian.jira.workflow.validator.JiraExpressionWorkflowValidator

  10. Repeat steps 2 to 6 until you reach the end of the file.

...