View Traceability for Story, Test cases, Executions, and Bugs.

Traceability in Jira

Pre-requisites

  1. Jira Project should be integrated with the QMetry project.

  2. QMetry Configuration should be enabled in the Jira Project and its issue types like the story, bug, etc. integrated with QMetry

  3. Uses should authenticate Jira from QMetry by following the below steps.

Jira Story synced as QMetry Requirements having linked Test Cases

QMetry Test Case Section

The QMetry Test Case panel in Jira shows Test case and test steps details along with Test Execution.

  1. Go to the Jira Story that is synced with QMetry Requirements linked to Test Cases.

  2. Select the QMetry Project. QMetry Project: It shows QMetry Projects with which the Jira story is synced. If the story is synced in more than one QMetry project, the drop-down will show more than one QMetry Project. Once you select the project, QMetry Key populates for the Story synced in QMetry as a requirement.

  3. Under Story, the Test Cases section displays all the Test cases linked to the Requirement. The test case & steps details are shown with respect to the version linked with Requirement. The Test Case row shows details like Test Case Key, Summary, Linked Version, Last Execution Status, Priority, Estimated Time, Status, Testing Type. The latest execution status shown the test case details is irrespective of the version linked to the Requirement - it’s the latest (based on the timestamp) executed status of the test case. Jira users can quickly view the information they need from the Jira Story detail page itself. For example, Developers want to see the current execution status of the test case and bugs linked.

  4. Expand the test case row to view Test Case Steps and Executions details of the test case.

On expanding the test case, two tabs are displayed:

If a bug is linked to the test case, the count is displayed in the Bug column. The bug details are available by clicking on the count, which opens up Issues pop-up. Clicking on the Issue Key opens the issue detail page in Jira.

If Jira story is linked with a test case in QMetry, the test case link in requirement will open a remote issue page for Test Case View. Refer to Test Case View in Jira Add-on below on this page.

Clicking on the Test Case Key will open the Test Case View in Jira Add-on which shows all the test case and execution details.

Test Case View in Jira Add-on

A test case is created and linked with a test suite in QMetry. Release & Cycles and Platforms are associated with the test suite for test execution. On the execution screen, the Jira issue is linked with a test case as an external issue. The issue link opens in Jira.

Test Case Details

The Test Case Details tab displays details entered for the test case in QMetry and its Execution Status Summary.

Executions
The Executions tab displays test suites in which the test case was executed. The test suite link opens in QMetry. You can view Bugs, Attachments, S.C. (Step Count), and Comments for the test case. The counts can be clicked to expand the test suite row to show its relevant tab in the expanded area. Other columns include Executed by and A.T. (Actual Attendant Time).

Each test suite row is expandable. The expanded area has four tabs on it: Steps, Issues, Attachment, and Comments.

Issue Links in Jira

The bugs linked directly to requirements in QMetry will now appear in Jira Story “Issue Links” section.


Bugs linked from the Test Suite Execution Screen in QMetry

When a test case is marked as failed during the execution, and a bug is raised on the Test Suite Execution screen, that bug gets raised in Jira and its external key (Jira issue key) is shown in QMetry. On clicking on the External Key of the issue in QMetry, it opens bug details in Jira. The Test Cases section on the Jira issue details page also displays the Linkage Level of the issue - Test Case/Test Step along with other details of the test case.

Expand the test case row to view Test Case Steps and Executions details of the test case.

On expanding the test case, two tabs are displayed:

BDD Panel in Jira when Jira stories are synced in QMetry

When a version control system is configured for the QMetry project, the BDD panel will be visible in the stories imported as requirements. The BDD panel in QMetry will appear read-only for the requirement imported from Jira; however, any changes made in the BDD panel in Jira will reflect in the BDD panel in QMetry.

Scenario: If one Jira project is configured with more than one QMetry Project and Jira stories are synced in QMetry.  Here, one Jira story is synced in more than one QMetry project.

QMetry Project: It displays QMetry Projects with which the Jira story is synced and the version control system is configured. In this case, the drop-down will show more than on QMetry Project.

Traceability in QMetry

  1. Go to Reports > Open Traceability report.

  2. Select Trace by : 

    1. For Requirement Traceability: Select Trace by Requirement

    2. For Issue Traceability: Select Trace by Issue

  3. Select entity > Apply