Export Test Cases to Other Project

The document describes how to export test cases from one project to other project within the same Jira instance.

 

Pre-requisites:

  • QMetry for Jira feature (Project Settings > QMetry Project Settings) should be enabled for both source and target project.

  • If the Permissions feature is enabled for the target project, users must have the Import permission (Project Settings > QMetry Permissions) assigned to them.

Steps to export test cases to other project

1. Go to Test Management > Test Case.

2. Select test cases that you want to export to other project in the same Jira instance. You can also narrow down the test case search by applying filters.

You can select individual test cases or all test cases.  Select All has two options:

  • Select all records on the current page:

Clicking on the check box in the column header selects all the records on the current page only.

An alternate way is to open the check box drop-down and select Current Page.

  • Select records across all pages:

Open the check box drop-down and select the Across All Pages option.

Note: Maximum 1000 test cases can be selected at a time.

 

The options for Bulk Operation start displaying on the screen on the selection of test case(s).

3. Open the Export To drop-down and select Export to Other Project.

 

4. The Export to Other Project pop-up opens.

  • Select Target Project: This is the project in which you want to export the test case. Open the drop-down list and select the project.

  • Select Target Folder: This is the folder in the target project in which the selected test cases will be exported. The drop-down list populates values according to the project selected in the previous field.

 

Update Metadata

  • Select Target Sprint: The drop-down list displays Sprints that exist in the target project. Sprints are displayed along with boards. Select the Sprint you want to attach with the test cases being imported in the target project.

  • Select Target Fix Versions: This option displays all Jira Fix Versions from the target project. Select the Fix Version you want to assign to the test cases that is being imported in the target project.

Additional Options

Select options items that you like to copy from test cases during import:

Create Meta Data: If the field values (Label, Component, Status, Priority, Custom Fields, Data Parameters) are not present in the target project, then the mentioned metadata values will be created in the target project. For Custom Fields, users should have access to modify/add custom fields. If the Create Meta Data option is not selected, then these fields will be ignored. Status and Priority will have default values in it TO DO and Medium respectively.
Export with Comments: Select the check box to export Comments along with test cases.
Export with Attachments: Select the check box to export Attachments along with test cases. 

Test Case Versions

  • Select either of the following to indicate whether the latest version or all versions of the test cases to be exported from the source project.

    • Export Latest Version

    • Export All Version(s)

6. Click Submit.

The success message is displayed on the screen.

You can view the current status of the activity and background processes by clicking on the Bell icon at the top right corner.

 

 

 

The test cases are imported into the target project.

The test cases get copied to the target project with the following values as per the options selected on the Import screen.

  • Test Case details like Summary, Description, Status, Priority, Estimated Time, Assignee, Reporter, Labels, Components

  • Custom Fields

  • Test Steps

  • Comments

  • Attachments

  • Parameters