Export Shareable Test Cases to Other QMetry Instance

Users can export QMetry test cases from one Jira instance to other Jira instance. This document describes how to export shareable test cases to other QMetry for Jira instance. To read about independent test case export to other QMetry instance, refer to https://qmetrysupport.atlassian.net/wiki/spaces/QTM4J/pages/1045496259.

Notes:

  • The independent normal test case that is using shared test cases will be imported as normal test cases in the destination project.

  • The shareable test case will be imported as shareable test case in the destination project.

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 shareable test cases to other QMetry for Jira instance

Source Project Instance

1. Go to Test Management > Test Case.

2. On the Test Case List View, click on more icon and select Show Shareable Test Cases option. The screen displays shareable test cases.

3. Select shareable 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.

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

4. Open the Export 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 that you would like to copy from test cases during export:

Export with Comments: Select the check box to export Comments along with the other details of 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)

Click Next.

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.

Follow these steps while exporting test cases containing shareable test cases to a different instance.
1. Export the test case, the shared steps of the test case will be exported as normal steps and their linkage with shareable test cases will be removed.
2. Export the shareable test cases separately to the destination project and then re-link them to the main 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.

The shareable test cases are imported as shareable test cases in the destination project instance.