How do you import test cases from Excel to Jira without creating a mess?
On this page
To import test cases from Excel to Jira, save the sheet as CSV and load it with an importer that understands tests, not Jira’s issue importer, which creates one issue per row and cannot hold steps. The safe route is a small trial, a dry run that writes nothing, and a stable ID column so a second import updates tests instead of duplicating them.
This guide shows what the built-in importer can and cannot do, a sheet layout to copy, how to run and read a dry run, and how to re-import after you fix the sheet.
Can Jira’s built-in CSV importer load test cases?
It can load them as plain issues, but not as tests. Atlassian’s CSV importer needs a header row with a Summary column, maps each row to a work item, and recommends about 1,500 work items per file. Multi-line text must be quoted, and a few values such as attachments and parent links have their own column rules.
That is fine for a list of tasks. A test case is different: it has preconditions, an ordered list of steps, an expected result for each step and a state. Squeezing steps into one cell loses the order and the pairing of action and expected result. It also puts every test into the project backlog as an issue, which is the clutter described in Jira test management without issue types. If your tests stay in Jira’s issue tracker anyway, use the built-in importer. If you want a separate test library, use an importer that is part of a test management app.
How should you lay out the spreadsheet?
Write the sheet so a person can review it before a machine reads it. Use one tab, a header row, and one row per test or per step, whichever your importer’s preset expects. Keep these ideas in the sheet, whatever you call the columns:
| Idea | What to put in it |
|---|---|
| Stable ID | An identifier that never changes, so a second import is an update |
| Title | One line that says what is verified |
| Folder path | Where the test sits, for example Checkout/Payments |
| Preconditions | What must be true before step one |
| Steps | Action, optional data, expected result, in order |
| Labels and priority | Used later to build cycles and filter |
| Status | Draft, Ready or Deprecated |
| Linked requirement | The key of the story or epic the test covers |
Two habits save the most time. Keep one test per identifier, and never merge cells, because a CSV keeps only one value for a merged range. Before saving, use Save as CSV and open the file in a text editor to check that quotes and line breaks survived.
Diagram A safe import, step by step
- SheetStable ID, folder, steps, linked story
- Ten rowsA trial with deliberately awkward rows
- Dry runLists errors, writes nothing
- Fix and repeatChange the sheet, not the library
- Full importRe-running updates by ID
How do you run a trial before the full import?
Take ten rows, not the whole file. Ten rows tell you whether titles, folder paths and steps land where you expect, and a mistake costs a minute. Pick rows that are awkward on purpose: a test with no precondition, one with many steps, one with a linked requirement, and one with a long title.
Then run a dry run, which is a pass that reads the file and reports what would happen without writing anything. A useful dry run lists four things: tests to create, tests to update, unchanged tests and rows with errors. If the numbers do not match what you expect from the sheet, fix the mapping or the file and run it again. Only when the ten rows look right is it worth loading the rest.
How do you fix rows with errors?
Read the error list row by row, change the sheet, and run the dry run again. Likely causes are a missing title, a status that is not Draft, Ready or Deprecated, a linked requirement key that does not exist or that you cannot see, and quotes that broke a line. Fix the cause in the sheet, not in the tool, so the next import starts clean.
You can also choose to skip rows with errors and import the rest, then fix the skipped rows in a second pass. Do that only when the errors are few and unrelated. If many rows fail for the same reason, stop and correct the column.
How do you re-import without creating duplicates?
Keep the stable ID in the sheet and import again. An importer that matches on that ID treats a row as an update to an existing test, so you can correct typos in the spreadsheet and re-run without clearing the library first. Without a stable ID, every import is a fresh set of tests, and cleaning up duplicates costs more than the import saved.
If your tests came from another tool, put that tool’s own key in the ID column. The old keys then stay visible and you can map them back to old reports.
What does not come across in a spreadsheet import?
Plan for what a CSV cannot carry. Execution history is not in a test sheet, because the sheet holds definitions and not runs. Attachments and screenshots are not in it either, and neither are test plans, test sets or precondition objects from other tools. Preconditions arrive as text on the test.
Build history again with new work: run a cycle for the next release, or upload CI results as they arrive. The first cycle after an import is also a good check of the import itself, because a missing step shows up the moment a tester reaches it. How to run that cycle is in manual test execution in Jira.
Doing this inside Jira with an app
ProbeTest for Jira is a test management app for Jira Cloud, coming soon to the Atlassian Marketplace. It keeps tests in its own library, not as issues. Its import takes a CSV export from Xray, Zephyr Scale, Zephyr Essential or Squad, or any spreadsheet saved as generic CSV, and picks the preset from the header row. You check the field mapping, run the dry run, fix the file, then import. Importing again updates tests by key, and an External ID column keeps that stable. Titles, folder paths, preconditions, descriptions, steps, labels, priority, status and linked requirement keys come across, while execution history and attachments do not.
The details are in the import and export documentation, and organizing and writing tests covers the library the tests land in. For choosing a storage model before you import, see Jira test management: how to choose an approach and an app.
Sources
- Atlassian Support: Import data from a CSV file, checked 2026-12-01 (Summary column, quoting, recommended 1,500 work items per file; part of the page was read through a summary)
- ProbeTest documentation: Import and export, checked 2026-12-01
- ProbeTest documentation: Organize and write tests, checked 2026-12-01
Frequently asked questions
Can I import an Excel file into Jira directly?
Jira's importer reads CSV, not Excel files, so save the sheet as CSV first. The built-in importer creates one Jira issue per row and requires a Summary column, so a test with several steps needs a test management app that has its own importer.
Why does the standard Jira CSV import fail for test cases with steps?
The standard importer maps a row to a work item and expects a Summary on it. A test case has an ordered list of steps with an action and an expected result each, and that structure does not fit one row per issue.
How do I avoid duplicate tests when I import the same sheet twice?
Give every test a stable identifier column and keep it in the sheet. With ProbeTest, an External ID column makes a second import update the matching tests instead of creating new ones.
Does execution history come across when I import test cases?
No. A spreadsheet holds the test definitions, not the runs. Rebuild history by running a cycle, or by uploading CI results, after the tests are in.
How many rows should I try first?
Ten. A small file shows whether the columns map the way you expect, and a dry run lists what would be created, updated, unchanged or rejected before anything is written.
Related posts
- Test case management in Jira Cloud: a practical guide
- Xray alternative? What to compare in Jira test management
- How do you run manual test execution in Jira, step by step?
- How do you track flaky tests in Jira without hiding real failures?
- What goes in a Jira test case template, and how do you keep it consistent?