Page History
...
This is how the CSV file looks like once the test cases above are exported (download it from the downloadable examples section):
Info | ||
---|---|---|
| ||
If you choose the “,” (comma) as the CSV column separator, then you must use quotation marks around any field that contains commas. |
Info | ||
---|---|---|
| ||
If you need to use new lines within a field, for example, in the issue description, then you need to quote the field. |
Downloadable examples
- previous example with 2 test cases, semicolon delimited: default_doc_samples_for_test_case_importer.csv (CSV)
- 4 simple test cases, semicolon delimited, with standard custom fields: 4samples_for_test_case_importer_simple.csv (CSV), 4samples_for_test_case_importer_simple_configuration.txt (configuration file)
Importing Test Cases
Info | ||
---|---|---|
| ||
It is now also possible to import test cases as a non-administrator JIRA user. Please follow the described steps in order to use this feature |
...
Info | ||
---|---|---|
| ||
Only custom fields that have the issue type Test selected as one of the applicable issue types will be available for mapping. Available custom fields for import:
Note: Only "single-value" custom fields are supported. "Select List (cascading)" custom fields behave as a single-value field; in that case, you have to specify the value in the format "parent -> child" as mentioned also for Jira's native CSV importer. |
Value Mapping Page
Map the CSV column values. In the example above, the Map Field Value checkbox is selected for Priority, so those values are going to be mapped.
...
Info | ||
---|---|---|
| ||
|
Priorities
An issue's priority defines its importance in relation to other issues. You can read more here. Before Jira 7.6, priorities could only be defined globally (i.e, for all projects). In Jira 7.6, Jira allowed a Project to have custom Priority Scheme. When using Jira CSV importer, Jira has different behaviors when Priorities are provided or not, depending on the Jira versions.
Xray will have the same behavior, no matter what version of Jira. When a user (admin or not) is trying to import a CSV with Xray Test Case Importer:
- Priority is provided and is associated with Project: Xray will create the Tests with the priority provided in CSV
- Priority is provided but does not exist or is not associated with Project Scheme: Xray will create Tests with the default priority if set, or with the lowest ranked priority;
- Priority is not provided: Xray will create Tests with the default priority if set, or with the lowest ranked priority;
Useful tips for importing Tests
...