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
- 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.
- 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.
- 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.
- 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 field | Zephyr Essential columns | Xray columns | Notes |
|---|---|---|---|
| Test identity | Issue Key, Key, Test Case Key, Test Key, Issue Id, Test Case Id | Issue Id, TCID, Test Id, Issue Key, Test Key, Key | Groups step rows into one test. It is also stored as the case's external reference, which is how re-runs skip duplicates. |
| Title | Summary, Name, Test Case Name, Title, Test Summary | Summary, Test Summary, Name | If the title is missing, the key is used and a warning is shown. |
| Preconditions | Precondition(s), Pre-condition(s) | Precondition(s), Pre-Condition(s), Pre-condition | |
| Description | Description, Objective | Description | Added to the preconditions, under “Description:”. |
| Step action | Step, Test Step, Step Description, Action, Step Summary, Teststep | Action, Step, Step Action | One step per row. |
| Step data | Test Data, Data, Step Data | Data, Test Data, Step Data | |
| Step expected result | Expected Result, Expected, Result, Step Expected Result | Result, Expected Result, Expected | |
| Step order | Step Number, Step No, Step #, Order Id, Step Order | Step Number, Step #, Step Index | If there is no order column, steps keep the order of the file's rows. |
| Labels | Labels, Label | Labels, Label | Split on commas, semicolons or spaces. An imported-zephyr-essential or imported-xray label is added. |
| Folder | Folder, Folder Path, Test Repository Path | Test Repository Path, Repository Path, Folder | |
| Automation key | Automation Key, Automation Id, Automation | Generic Definition, Definition, Unstructured Definition, Generic Test Definition | Used to match CI results to this case. |
| Linked stories | Linked Issues, Issue Links, Story, Requirement(s), Coverage | Requirement(s), Tests, Link "tests", Issue Links, Linked Issues | Jira issue keys are picked out of the text. Each linked story's current text becomes the starting point for story-drift checks. |
| Test type | Test Type, Type | See Xray test types. | |
| Gherkin scenario | Cucumber Scenario, Gherkin Definition, Scenario, Gherkin | Kept as text. See below. |
Xray test types
- Manual: imported with its steps.
- Generic / Unstructured: imported as an automated case, and the definition becomes the automation key. If the definition is missing, you get a warning.
- Cucumber: the scenario is kept as plain text in a single step, and the case gets a
bddlabel. Suitetrail has no BDD editor, and the import report warns you about each one.
What is not imported
These columns are recognised and deliberately skipped. Each appears in the mapping report with its reason.
| Column | Why |
|---|---|
| Priority | Not a field in this version. Use labels or folders instead. |
| Component(s) | Not a field in this version. |
| Status, Execution Status, TestRun Status | Past execution results are not imported. Start new runs in Suitetrail. |
| Assignee, Reporter, Created By, Owner | People 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
- Batched upload. Forge limits each request from the browser to 500 KB. Parsed cases are sent in batches of up to 400 KB each, and the import screen shows how many requests it will make and the size of the largest one.
- Safe to re-run. If an import stops part way through, run it again. Cases that were already imported (matched by their key) are skipped and counted as “already existed”.
- Story links. Each batch links up to 500 distinct story keys. Keys that can't be found in Jira, or that are in projects you can't browse, are listed as not linked. The test cases themselves are still imported.
- One file per project. Cases are created in the project you import into. Linked stories can be in other projects you have access to.