Docs / Migration

Migrating from Zephyr Essential or Xray

Bring your test cases across from a CSV export. You see a mapping report before anything is written, and you can safely re-run an import.

Column names are not yet checked against real exports. The column names below are based on public descriptions of each vendor's CSV export and on sample files we wrote ourselves. Each field accepts several common column names. Any column that isn't recognised is listed in the mapping report, so a mismatch shows up before you import. If your export doesn't map well, please tell us which column headers it uses. Send the header row only, not your test data.

Steps

  1. Export your test cases from Zephyr Essential or Xray as CSV. Use one row per test step. The first row of each test carries its key and summary, and the rows after it may leave those blank.
  2. In Jira, open the project, go to Apps → Suitetrail → Import, choose the format and select the file. You need permission to browse and edit issues in that project.
  3. Read the mapping report. It lists the columns that were mapped, the columns that were skipped (with the reason), any rows that were skipped, and warnings. Nothing has been written yet.
  4. Import. Cases are created in batches, and a progress bar shows the cases created, cases that already existed, and story links made.

The file is parsed in your browser. Comma, semicolon and tab delimiters are detected automatically, as are quoted fields with line breaks and a UTF-8 byte order mark.

Field mapping

Column headers are matched without regard to case, spaces or punctuation. For example, Expected Result, expected_result and ExpectedResult all match.

Suitetrail fieldZephyr Essential columnsXray columnsNotes
Test identityIssue Key, Key, Test Case Key, Test Key, Issue Id, Test Case IdIssue Id, TCID, Test Id, Issue Key, Test Key, KeyGroups step rows into one test. It is also stored as the case's external reference, which is how re-runs skip duplicates.
TitleSummary, Name, Test Case Name, Title, Test SummarySummary, Test Summary, NameIf the title is missing, the key is used and a warning is shown.
PreconditionsPrecondition(s), Pre-condition(s)Precondition(s), Pre-Condition(s), Pre-condition
DescriptionDescription, ObjectiveDescriptionAdded to the preconditions, under “Description:”.
Step actionStep, Test Step, Step Description, Action, Step Summary, TeststepAction, Step, Step ActionOne step per row.
Step dataTest Data, Data, Step DataData, Test Data, Step Data
Step expected resultExpected Result, Expected, Result, Step Expected ResultResult, Expected Result, Expected
Step orderStep Number, Step No, Step #, Order Id, Step OrderStep Number, Step #, Step IndexIf there is no order column, steps keep the order of the file's rows.
LabelsLabels, LabelLabels, LabelSplit on commas, semicolons or spaces. An imported-zephyr-essential or imported-xray label is added.
FolderFolder, Folder Path, Test Repository PathTest Repository Path, Repository Path, Folder
Automation keyAutomation Key, Automation Id, AutomationGeneric Definition, Definition, Unstructured Definition, Generic Test DefinitionUsed to match CI results to this case.
Linked storiesLinked Issues, Issue Links, Story, Requirement(s), CoverageRequirement(s), Tests, Link "tests", Issue Links, Linked IssuesJira issue keys are picked out of the text. Each linked story's current text becomes the starting point for story-drift checks.
Test typeTest Type, TypeSee Xray test types.
Gherkin scenarioCucumber Scenario, Gherkin Definition, Scenario, GherkinKept as text. See below.

Xray test types

What is not imported

These columns are recognised and deliberately skipped. Each appears in the mapping report with its reason.

ColumnWhy
PriorityNot a field in this version. Use labels or folders instead.
Component(s)Not a field in this version.
Status, Execution Status, TestRun StatusPast execution results are not imported. Start new runs in Suitetrail.
Assignee, Reporter, Created By, OwnerPeople fields are not imported. Suitetrail stores Atlassian accountIds only.
Created, Updated (Zephyr)Vendor timestamps are not imported.
Fix Version(s)Use a Test Plan linked to the fix version instead.
Attachments (Zephyr)Not imported in this version.
Estimated Time, Estimate (Zephyr)Not a field in this version.
Test Set(s) (Xray)Not supported in this version. Use labels instead.
Cucumber Scenario Type (Xray)BDD scenario types are not supported.

Any other column shows as “not recognised” in the report.

Large imports and re-runs