Migrating with the Jira Cloud Migration Assistant (JCMA)
This information is correct as of November 2021
The JSU team is pleased to announce that JSU is compatible with Atlassian’s Jira Cloud Migration Assistant (JCMA) for app migrations. This means that you can automatically migrate most of your JSU workflow automations from your Server instance to your Cloud instance.
It is highly recommended to test your migration on a different Cloud instance so that you may become familiar with the results, before proceeding to migrate your Server app data to your production Cloud instance.
How to navigate to the Jira Cloud Migration Assistant add-on
It is recommended to always use the latest available version of the Jira Cloud Migration Assistant (JCMA) add-on by Atlassian. As of writing the latest version is 1.6.3. You can track updates to JCMA through Atlassian’s app migration https://developer.atlassian.com/platform/app-migration/changelog/.
To begin preparing your instance for a migration to Jira Cloud, you first need to navigate to the Migrate to Cloud section of the Jira administration settings.
Select Administration > System.
Under IMPORT AND EXPORT in the left sidebar, select Migrate to cloud. The Migration Assistant home page is displayed.
How to include JSU in your app-assessment
Assess your apps - you will need to select which apps you want to include in your migration. All apps must have a decision status selected before you can proceed to the next step.
Select View app assessment.
Find JSU in the list of apps and select Needed in Cloud from the Status dropdown.
When you’re happy to proceed, select Done.
Prepare your apps - next, you need to link your Jira Cloud instance to the JCMA tool via the prompts.
Select Begin preparing on the Prepare your apps panel on the Migration Assistant home page.
Select the required destination Cloud site then select Choose cloud site to link your chosen cloud instance.
Select Continue to navigate through the remaining preparatory steps, then click Done.
Migrate your data
When you are ready, on the Migrations Assistant home page, go to the Migrate your data panel and select Create a migration to begin your migration activity. If you have already performed a migration, you can select Create a migration on the Migrations dashboard page.
Select Connect to cloud.
Select the Choose what to migrate option.
Edit the options as required. For the Apps option, select All to ensure JSU is included in your migration activity.
Select Run pre-migration checks.
The migration assistant displays the results of all the pre-migration checks. Review any possible issues by expanding the relevant check.
new Under Apps, select View app vendor checks.
JSU has implemented two app vendor checks to help your JSU data migrations run smoothly. See App vendor checks | Atlassian Support to learn more about app vendor checks.Follow the steps to resolve any issues before proceeding, or download a report to help with post-migration cleanup as described in the next sections.
Select Continue to move to the Review stage of your migration, then when you are ready, select Run to commence your Cloud migration which includes your JSU app data.
Reviewing the status of your migration
After starting the migration, you can review it as it progresses by returning to the Migrations dashboard. Your Jira data will be migrated first, followed by your app data.
The app-migration stage is the last step of the migration activity. When this stage has been completed you can expand to see more information, including a link to the JSU Cloud Post-Migration Report.
Post-migration report and cleanup
Click the link in the expanded section to open a new tab with your post-migration report for this specific migration. To view any of your post-migration reports on your cloud instance go to Settings Apps > JSU Automation Suite for Jira Workflows > Reporting.
Looking at the post-migration report, we can see there are two warnings reported: one Missing resolution and one Missing transition.
These are because JSU couldn’t find a specific resolution and transition it needed to configure some features correctly on the cloud instance. This specific scenario is likely to be caused by one of three scenarios:
The JCMA tool didn’t migrate that specific resolution and transition for unknown reasons
The JCMA tool didn’t migrate that specific resolution and transition because they already exist on the Cloud site but with different IDs
The JCMA tool migrated that specific resolution and transition but in doing so gave them new IDs which don’t match the Server configuration
Let’s look at the workflow rules side-by-side on both platforms: how they are originally on our Server instance, and how they look after being migrated to the Cloud instance.
Server
Our server workflow contains three JSU post-functions, one of each for Linked Transition, Clear Field Value and Update Any issue Field.
Cloud
All three have been successfully migrated to the Cloud, but the Linked Transition has a visible error.
Our Cloud post function is missing a value for the Transition field, while the Server field contains the “Done” transition.
The Missing transition warning from the post-migration report, showed that a transition with ID “31” couldn’t be found. This is likely the missing field, so let’s fix it.
First, look at the specific configuration of this post function on the Server instance compared to the Cloud instance.
Server
Cloud
On your cloud instance, edit the misconfigured post function and ensure the correct values are added to the Transition values (in our case the same workflow with transition “Done” and ID “31”) and then click Update to save your changes.
After updating the post function, the error no longer appears. After you’ve resolved all issues on your workflow, don’t forget to publish your workflow.
You’ve now successfully migrated to Cloud with all of your JSU workflow rules included!