Export Test Cases to Other QMetry Instance

Users can export QMetry test cases from one Jira instance to other Jira instance. The following document describes how to export QMetry test cases to other QMetry for Jira instance.

Note: A maximum of 1000 test cases can be exported to other QMetry instances.

 

Pre-requisites

  • QMetry for Jira add-on should be installed on both source project instance and target project instances.

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

  • If Permissions feature is enabled for the target project instance, the user must have the Import permission (Project Settings > QMetry Permissions) for the project on the other QMetry for Jira instance.

Steps to export test cases to other QMetry for Jira instance

Source Project Instance

1. Go to Test Management > Test Case.

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

If the Display Test Cases of Sub Folder(s) option is enabled on the tree, then the screen at right will include test cases of parent folder as well as its sub-folders. So make sure you select only required test cases.

To select all test cases on the page, select the check box in the column header. To select all test cases across the pages, select the Select All Across Pages check-box.

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 Instance.

The Export to Other QMetry Instance pop-up opens.

There are three steps:

  • Authentication

  • Provide Additional Options to import test cases

  • Select Destination Project in the target QMetry for Jira instance

1. Authentication

Note: Only users who are authenticated in target instance can perform this operation.

Enter the following authentication details. You can proceed once the details are validated.

  • Email: Enter Email ID of the user who has import rights of in the target project in other QMetry Instance.

  • Base URL: Enter URL of the other QMetry for Jira instance in which the test cases are being imported.

  • API Token: Enter API Token. Refer to https://confluence.atlassian.com/cloud/api-tokens-938839638.html to know about how to generate API tokens.

 

Click Next.

2. 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.
Comments: Select the check box to export Comments along with the other details of test cases.
Attachments: Select the check box to export Attachments along with the other details of test cases.

 

3. Destination Project

  • Select target Project: The drop-down displays list of projects exist on the target QMetry instance. Select the project to which the test cases will be exported.

  • Select target Folder: The drop-down displays list of folders in accordance with the project selected above. Select the folder in which the test cases will be exported.

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.

  • Select target Assignee: Select the user from the drop-down. This user will be assigned as Assignee to the test cases in the destination project. If not selected, then the current user will be assigned as Assignee to the test cases.

Click Start Export.

Destination Project Instance

The test cases are imported into the Jira instance as per the configuration done in Step 3 above.