Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is how the CSV file looks like once the test cases above are exported (download it from the downloadable examples section):



Info
titleCSV column separator

If you choose the “,” (comma) as the CSV column separator, then you must use quotation marks around any field that contains commas.

Info
titleFields with line breaks

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

Importing Test Cases


Info
titleInfo

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
titleCustom field mapping

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:

  • Checkboxes
  • Labels
  • Number fields
  • Radio buttons
  • Select lists (single choice and cascading)
  • Text field
  • URL field
  • User picker

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
titleExample valid comment entries
  • 01/01/2012 10:10;Admin; This comment works
  • 01/01/2012 10:10; This comment also works
  • "This comment is only the text body"

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

...