Skip to main content

One Click Migration from X-Ray

TestMu AI Test Manager supports one-click migration from X-Ray (Jira Cloud), allowing you to import your entire test library — including projects, test cases, folder structures, attachments, custom fields, and linked requirements — directly into Test Manager without manual data entry.

Key Benefits

  • Zero manual effort — All test cases, steps, attachments, and folder structures are automatically migrated.
  • Handles both Manual and BDD tests — Manual step definitions and Gherkin/BDD scenarios are both fully supported.
  • Custom fields carried over — Custom fields in your X-Ray tests are automatically detected and created in Test Manager.
  • Attachments included — File attachments are downloaded from Jira and re-uploaded to Test Manager, including step-level references.
  • Real-time progress tracking — A progress bar shows migration status so you know exactly where things stand.
note

This migration supports X-Ray Cloud (Jira Cloud) only. X-Ray Server and Data Center are not supported at this time.

Prerequisites

Before starting the migration, ensure you have the following ready.

TestMu AI Account

  • An active TestMu AI account with access to Test Manager.

X-Ray Cloud Credentials

You need your X-Ray Cloud API credentials (Client ID and Client Secret). Refer to the X-Ray Global Settings - API Keys documentation for detailed instructions. To obtain these:

  1. Log in to your Jira Cloud instance.
  2. Navigate to Apps > Manage your apps > X-Ray (or go to X-Ray Settings).
  3. Under API Keys, generate a new API key pair if you do not already have one.
  4. Copy the Client ID and Client Secret.
warning

The Client Secret is shown only once. Store it securely before proceeding.

Jira Cloud Credentials

You also need Jira Cloud credentials to access project metadata and attachments:

CredentialWhere to Find It
Jira Host URLYour Jira instance URL, e.g., https://yourcompany.atlassian.net
Email AddressThe email associated with your Atlassian account
Jira API TokenGenerate from Atlassian API Tokens

Jira Integration in TestMu AI

To migrate linked Jira issues and requirements, you must have the corresponding Jira instance integrated with TestMu AI. Without this integration, linked issues will not be carried over during migration. Refer to the Link Jira Issues with Test Manager guide to set up the integration before starting the migration.

Permissions

  • Your Jira account must have read access to the project you are migrating.
  • Your X-Ray API key must have permission to access test cases and test sets in the target project.

Step-by-Step Migration Guide

Step 1: Open the Migration Tool

  1. Log in to your TestMu AI account.
  2. Navigate to Test Manager Projects from the left sidebar.
  3. Click the Import data option on the Project Listing page.
  4. Select X-Ray Cloud as the migration source from the Import from dropdown.
import-data-project-listing

Step 2: Enter Your Credentials

Fill in the following fields:

FieldDescription
Jira HostYour Jira Cloud instance URL (e.g., https://yourcompany.atlassian.net)
Jira Email AddressYour Atlassian account email
Jira API TokenAPI token generated from Atlassian
X-Ray Client IDClient ID from X-Ray API Keys. Refer to the X-Ray Global Settings - API Keys documentation.
X-Ray Client SecretClient Secret from X-Ray API Keys. Refer to the X-Ray Global Settings - API Keys documentation.

Click Continue. The system validates both your Jira and X-Ray credentials in parallel. If either set is invalid, an error message indicates which credentials need to be corrected.

enter-xray-credentials

Step 3: Select the Jira Project

  1. After successful validation, a list of your Jira projects containing X-Ray test cases is displayed.
  2. Select the project you want to migrate from. You can select multiple projects at once.
  3. Click Start Migration.
select-jira-project

Step 4: Monitor Progress

  • A progress bar shows real-time migration status.
  • The migration processes test cases in batches. Depending on the size of your test library, the complete process may take some time.
migration-progress
  • You can navigate away from the page and continue other work — the migration continues in the background. Once the migration is complete, you will receive an email notification.
email-completion-notification

Step 5: Review the Results

Once migration completes:

  1. The migrated X-Ray projects will appear on the Projects listing page in Test Manager.
  2. Navigate to the Test Cases section in any of your migrated projects.
  3. Verify that your test cases, folder structure, and attachments have been imported correctly.
  4. Check a few test cases to confirm that steps, custom fields, and linked requirements are intact.
migration-results

What Gets Migrated

The following entities and data are transferred from X-Ray to Test Manager during migration:

EntityDetails
Test CasesAll test cases from the selected project are imported with their complete definitions.
Test Case MetadataSummary, description, priority, labels, and preconditions are mapped to their corresponding Test Manager fields.
Manual Test StepsEach step's Step Description and Expected Result are migrated directly. Step ordering is preserved.
BDD/Gherkin ScenariosFull Gherkin scenario text is extracted and stored under the BDD Scenarios template.
AttachmentsBoth test case-level and test step-level attachments are downloaded and re-uploaded to Test Manager.
Rich Text FieldsRich text content — including embedded screenshots, tables, lists, and other supported formatting — is preserved.
Custom FieldsCustom fields are automatically detected in X-Ray and created in Test Manager with matching names.
Linked Issues / RequirementsJira issue links and requirement associations are preserved. Requires Jira integration to be configured.
X-Ray Test KeyThe original X-Ray test key is imported within tags, enabling quick reference and filtering in Test Manager.
note

X-Ray fields that cannot be directly mapped to system fields in Test Manager are automatically imported as custom fields. These may include Reporter, Assignee, Environment, Fix Version, Components, etc.

Test Data Migration

Test Data from X-Ray steps is migrated as a single textarea custom field at the test case level, with textual data consolidated together. This is because Test Manager does not currently support a step-level Test Data field.

What Does Not Get Migrated

The migration focuses exclusively on your test library — definitions, structure, and metadata. The following entities are not included:

EntityReason
Test RunsExecution-layer entity that is not part of the test case definition.
Test Execution LogsExecution history and pass/fail results are excluded by design.
DatasetsDatasets and their corresponding parameters are not imported.
Standalone PreconditionsPrecondition text is captured within individual test cases, but standalone precondition objects are not migrated as independent reusable entities.

Test Steps Handling

Manual Tests

Manual test cases are migrated with their full step definitions. Each step's Step Description and Expected Result fields are mapped directly. Step ordering is preserved, and step-level attachments (e.g., screenshots embedded in steps) are migrated as well. All X-Ray test step templates, except Gherkin, are mapped to the Manual Test Steps template in Test Steps of a Test Case.

BDD / Gherkin Tests

For BDD-type test cases in X-Ray, the full Gherkin scenario text (Given/When/Then) is extracted and stored in the test case as structured BDD content under the BDD Scenarios template in Test Steps.


Troubleshooting

ProblemSolution
Invalid X-Ray credentialsVerify your X-Ray Client ID and Client Secret. Re-generate them from X-Ray Settings if needed. Ensure you are using X-Ray Cloud credentials, not X-Ray Server/Data Center.
Invalid Jira credentialsConfirm you are using a Jira API Token (not your Jira password). Generate one at Atlassian API Tokens. Verify the email matches the account that owns the token.
No projects foundVerify your Jira account has access to at least one project containing X-Ray test cases. Check that X-Ray is installed and active on your Jira Cloud instance.
Migration stalls or takes too longLarge projects (thousands of test cases with attachments) may take 10–30 minutes. If it does not resume after 30 minutes, re-initiate the migration.
Missing attachmentsVerify that the Jira API token has permission to download attachments from the source project.
Custom fields not appearingCustom fields are auto-created during migration. Navigate to Project Settings > Custom Fields to verify they exist and are enabled.

FAQ

Can I migrate multiple Jira projects?

Yes. Run the migration once per Jira project. Each migration imports test cases from one X-Ray project into one Test Manager project. Repeat the process for additional projects.

Will migration affect my X-Ray data?

No. The migration is read-only on the X-Ray side. Your X-Ray test cases, test sets, and all other data remain untouched.

Can I run the migration again if something goes wrong?

Yes. You can re-run the migration for the same project(s). Review the results after each run.

Are Gherkin/BDD scenarios preserved exactly as written?

Yes. The full Gherkin text (Feature, Scenario, Given/When/Then blocks) is extracted and stored in the Test Manager test case with formatting and step structure preserved.

What if I have test cases with no steps?

Test cases without steps are still migrated. The test case metadata (title, description, priority, labels, etc.) is imported, and the steps section will be empty.

Is X-Ray Server (Data Center) supported?

No. This migration currently supports X-Ray Cloud (on Jira Cloud) only.


Known Limitations

LimitationDetails
X-Ray Cloud onlyX-Ray Server and Data Center are not supported
No execution dataTest Plans, Test Runs, and execution logs are excluded by design
No incremental syncMigration is a one-time import, not a continuous sync
Standalone PreconditionsPrecondition text is captured within test cases, but standalone Precondition objects are not migrated as independent reusable entities
Test case commentsJira comments on test case issues are not migrated
Execution environmentsX-Ray environment configurations are not migrated

Test across 3000+ combinations of browsers, real devices & OS.

Book Demo

Help and Support

Related Articles