Migration via JCMA

Recommended Server versions

For optimal performance and compatibility, we strongly advise to update Zephyr Squad to the most recent Server version available. If your license is not active, kindly raise a ticket, and our Sales team will assist you.

Important Notice for customers that migrate from Server/DC to Cloud

In our continuous effort to make Zephyr Squad better and more efficient for our users, we upgraded the user experience of Zephyr Squad. If you install Zephyr Squad Cloud on a new site for the first time, you see by default the new user experience which is different than the Squad Server/DC experience.

However, to migrate data from Server/DataCenter to the Cloud, you need to switch back to the classic Squad experience in your Cloud instance.

To confirm that you have the correct Zephyr Squad experience, see if you can create one issue of type Test and the Zephyr Squad menu is available in the Manage Apps left menu.

To keep the same experience as on Server/DC, you must switch to the old experience of Zephyr Squad.

The switch is possible in two ways:

  • Run a test migration. By the end of the process, you are automatically switched to the older experience. You can find the details further in this document.

  • Switch manually to Zephyr Squad old experience:

    1. Go to General configuration > Cloud Migration in Server/DC app.

    2. Add the API token. You can find and copy the token when you click on your Jira account profile and go to Zephyr Squad API Access Tokens:

      Zephyr_Access_Token.png
      API_token.png
    3. Click Create access token and Copy.

    4. Click Submit to do the switch.

Pre-migration steps

In Jira Server

  1. Upgrade Zephyr Squad Server to at least version 8.0.2 (for Jira 8.x versions) or 9.1.2 (for Jira 9.x versions)

  2. Back up the data of your Zephyr Squad Server.

  3. Install the Jira Cloud Migration Assistant plugin in your Jira Server instance.

    Note

    In Jira Server 8.14, the migration assistant is installed by default.

    To install the plugin manually:

    • In Jira Server, go to Settings > Manage apps.

    • Choose Find new apps in the sidebar.

    • Enter Jira Cloud Migration Assistant in the search bar.

    • Once the plugin is found, click Install:

      Jira Cloud Migration Assistant

      Alternatively, you can install it from the Atlassian Marketplace.

In Jira Cloud

  1. Create an XML backup of your empty Jira Cloud instance for future use if you need to reset it.

  2. Install Zephyr Squad Cloud in your Jira Cloud instance.

  3. If you have already been using Jira Cloud and it has projects with the same name or project key as Jira Server projects, delete those projects from Jira Cloud.

Migration steps

You can create multiple migration plans with different sets of Jira projects. To migrate Zephyr data, you must select the Zephyr Squad app together with the relevant Jira projects in the same migration plan, otherwise, the Zephyr Squad data will not be migrated (the migration will be stuck at 0%).

To start migrating your projects, users, and groups, navigate to Settings > System > Migrate to cloud in your Jira Server instance and follow the steps described in the Atlassian Jira documentation:

Use the Jira Cloud Migration Assistant to migrate

The Migrate to cloud button

Make sure to wait until the migration completes (the status must be Complete):

Migration complete

To review the migration status:

  1. Go to your Jira Cloud instance and navigate to Apps > Manage apps > JCMA Migration.

  2. Click the refresh button to view the current migration (the migration will appear in the list). Wait for the status to become Success:

    Migration dashboard

    Note

    Each migration in the list has the Action button. Clicking the button opens a dropdown that you can use to view the migration details and download the migration report and logs:

    Action menu

Post-migration steps

Once you import the Zephyr Squad data into Cloud, you must check three main data points: Test Cases, Test Executions, and Cycles. This will help you validate whether your data on Cloud matches the data on Server.

Add permissions

To view and edit migrated issues, your Jira account must belong to all migrated user groups. JCMA does not add your Jira account to migrated user groups for security reasons.

To add your Jira account to the group:

  1. Go to Settings > User management, then click Groups on the left.

  2. Click Show details for the needed group from the list of groups.

  3. Click Add group members to include your account to the group.

  4. Repeat these steps to add your account to other groups. See Atlassian documentation for details.

You may need to add the Project Role (atlassian-addons-project-access) to all the project permissions schemes because of Atlassian’s bug MIG-672.

Clear cache and reindex data

Once the migration status is Success, do the following:

  1. Select General Configuration in the Jira sidebar to open the Zephyr Squad Cloud settings.

  2. Scroll down the page and click Clear Cache and Clear Permission Cache:

    Clear cache
  3. While staying on the General Configuration page, scroll up to the Re-Index section and re-index all your projects:

    • Select Project Metadata and click Re-Index.

    • Select Executions and click Re-Index.

    Re-index projects
  4. On the same page, check the value of the Sort Cycles Order option. If it is Custom order, you also need to reset the sorting for the migrated projects:

    • Add the migrated projects to the Reset Custom Order list.

    • Click reset.

    Reset custom order

Now you can open your project in Zephyr Squad Cloud and validate the migrated data. If no issues are found, you can start working with your project.

Update Test Automation jobs

If you have Test Automation jobs that use ZBot, you need to configure a new ZBot agent for Zephyr Squad Cloud and modify the migrated jobs to use the new ZBot agent.

  1. Download and install ZBot for Zephyr Squad Cloud:

    https://atombuild.zephyr4jiracloud.com/atom.zip

    The installation instructions are in the README file inside the archive.

  2. In Jira Cloud, navigate to the Zephyr Squad > Test Automation page.

  3. Find jobs with Automation Type = ZBot. Edit each of these jobs and select the new ZBot agent.

    Updating ZBot test automation jobs
    Selecting a ZBot agent in job settings

Now you can execute and schedule these automation jobs again.

Validating Migrated Data

The best way to validate the imported data is to run some JQLs or ZQLs queries. The Test Summary page is expected to present different results on Server and Cloud.

You must check the following data points:

  • Number of Tests on Cloud

    To validate the number of tests:

    1. Go to Jira > Filters > Advanced Issue search

    2. Enter this JQL query in the search box:

      project=ProjectKey AND issuetype=Test
    3. Press Enter. Check the result displayed.

  • Number of Test Executions on Cloud

    To validate number of test executions:

    1. Go to Project > Squad > Search Test Executions

    2. Enter this JQL query in the search box:

      project=ProjectKey AND executionStatus in (status1, status2, status3)

      Note

      Add all execution statuses separated by a comma.

    3. Press Enter. Check the result displayed.

  • Number of Cycles on Cloud

    To validate the number of Cycles:

    1. Go to Project > Squad > Cycle Summary

    2. Enter this JQL query in the search box:

      project=ProjectKey AND issuetype=Test
    3. Press Enter. Check the result displayed.

If you are not seeing the Zephyr data, consider the following:

  1. Unable to see Test Cases:

    • Check Permissions: Review permissions in the Add permissions section. Ensure there are no Issue Security schemes blocking your access.

    • Check the Test issue type.

    Warning

    You must not rename the issue type "Test" before migration. If the issue type changed to “Migrated” after the JCMA migration, edit it back to the original value.

    To check your Test issue type, run in browser URL: https://<jira_cloud_baseurl>.atlassian.net/rest/api/3/issuetype and verify issuetype "Test" exists and has description: This JIRA Issue Type is used to create Zephyr Squad Tests.

    If the result is not This JIRA Issue Type is used to create Zephyr Squad Tests., edit the description to meet the above, and uninstall/reinstall the Squad app. Then, run https://<jira_cloud_baseurl>.atlassian.net/rest/api/3/issuetype again and get the “id” (e.g "id":"10005"), now compare to Manage Apps > Zephyr Squad > General Information. The IDs and Issue type descriptions should match. If they do, check your data again. Otherwise, contact Zephyr Support. Do not rerun your migration without our confirmation.

  2. Unable to see Executions:

    • The Test Summary page calculates the Executions differently from Server to Cloud. See the Test Summary View on our Server vs Cloud page.

    • If you are not seeing any Executions, make sure you ran the post-migration steps correctly and allowed enough time for them to finish. The re-index job might take hours to finish depending on your data size.

    • Contact Zephyr support before trying any other steps. Do not rerun your migration without our confirmation.

Retry migration

You can restart the JCMA migration within 14 days after it failed. To do that:

  1. Go to Apps > Manage your apps and click JCMA Migration.

  2. Click Action next to the failed migration.

  3. Select the Retry migration item.

    Retry item
  4. Select any or all of the projects, or failed projects only, click Retry.

    Retry menu

The migration will restart, and its status will change to IN PROGRESS.

Managing Data Migration and Re-indexing in the Cloud: Best Practices and Considerations

At this point, your data is secure in the Cloud and you can release the site to end-users to start creating new data. However, the migrated Executions will only appear after the Re-index is complete. This is because the UI does not directly gather data from the production database, but from an Index.

The re-index job may take several hours depending on the size of the migrated dataset, as it was designed to grow organically and not in large chunks. If you have over 1 million Zephyr objects, we recommend timing the re-index and factoring it into your production migration timeline.

Note:

  • if you select 'ALL PROJECTS', it will not be possible to determine which project is being re-indexed.

  • If you select projects individually, the re-indexing will follow the same order.

  • New data may be created while the re-indexing is in progress.

  • The progress bar on the re-indexing page will only function for 30 minutes, after which it will no longer track the re-indexing progress.

  • - To track progress, go to the Search Test Executions page and keep an eye on the total number of executions until it matches the number on the server or stops increasing.

  • You don't have to wait for all projects to be migrated before triggering the reindex job. You can run it as soon as the project is migrated to the cloud and cycle data is visible.

  • Only one reindex job can be run at a time, but it can be for all projects or selected projects.

If you are migrating a large dataset with a restricted timeline, be sure to review this point with our Cloud Migrations Manager by raising a ticket with us.

Known issues and limitations

For the common JCMA issues and limitations, see the Atlassian documentation:

JCMA known issues and troubleshooting

What gets migrated with the Jira Cloud Migration Assistant

The following limitations are specific to the Zephyr Squad app data migration.

  • Data that is not migrated:

    • Tests with issue-level security and their details (steps, executions, and so on).

    • Archived tests and their details (steps, executions, and so on).

    • ZBot agents used by Test Automation jobs. You need to Configure new Zbot and update the migrated jobs to execute automation tasks using newly created Zbot.

  • Miscellaneous:

    • Timestamps in issues might be different in Jira Server and in Jira Cloud. Since Jira Cloud uses UTC, there might be a shift in time zones if the Jira Server instance uses another time zone.

    • Sorting tests in the Cycle Summary by ID may produce incorrect sorting order.

FAQ

See our Cloud Migration FAQ for quick answers to some commonly asked questions.

Support and troubleshooting

Should you have any questions, please visit our Support Portal where you can search for an answer in Zephyr Squad Community or contact our Customer Care team.

See Also

Zephyr Squad Features - Server/Data Center vs Cloud

Cloud Migration FAQ

Publication date: