Link Stories to Test Cycle

QMetry Test Management for Jira provides the functionality to add Story directly to the Test Cycle, which adds all underlying test cases to the Test Cycle. Further, users can sync the Stories linked with Test Cycle which will add/remove test cases accordingly in the current test cycle if the scope of the Story is changed. It saves testers time as they do not need to link/unlink test cases to the Test Cycle manually.

 

Add Stories

The Story tab is provided on the Test Cycle detail page.

1. Open the Story tab.

2. Click on the Add Stories button.

 

3. The next screen opens with a list of stories. You can also apply the filter to search specific stories.

You can also -

(A) select cross project stories. Open the project drop-down and select other project from which you want to add the stories.

(B) apply Basic filter to search stories (The Issue Type filter displays Issue Type in accordance with the Issue Type enabled for Story in QMetry Project Settings.)

(C) apply JQL to search stories: You can write JQL query to fetch required records.

JQL

 

4. Select stories that you want to link with the test cycle.

5. Click Submit.

The selected story/stories are linked with the Test Case.


The Test Cases, associated with the stories, also get linked to the test cycle along with stories.

Open the Test Cases tab in the test cycle detail page to verify the same.

The Test Cases tab shows unique test cases i.e. the test case will be displayed only once even if it is linked with multiple stories. For example, TC1 is linked with Story A, Story B, and Story C. Then TC1 will be displayed only once on the grid.

Sync Stories

You can sync test cases on a test cycle for associated stories. This allows users to re-sync test cases for linked stories in a test cycle to get complete coverage on execution.

1. Open the test cycle detail page and go to the Test Cases tab.

2. Click on the Sync Stories button.

 

A pop-up opens asking to select either of the following options on it.

  • Partial Sync: It will link all the newly added Test Cases in associated Stories to the current Test Cycle.

  • Full Sync: It will link all the newly added Test Cases in associated Stories to the current Test Cycle. Moreover, it will unlink the Test Cases from the current Test Cycle if these test cases are not present in associated stories. All the executions of such unlinked test cases will also get removed.

3. After selecting the options click Sync.

 

The success message pops up.

4. Click the Refresh icon at the bottom of the grid.

The newly added test cases to the story get added to the test cycle and the test cases which are not part of the story will be unlinked from the test cycle.

On the Jira Story page -

Users can apply Stories/Coverage filter on the execution screen to know the test cases associated with the selected stories.

1. Open the Filter menu on the Execution screen, which is accessible from the Test Cycle tab.

2. Select the Coverage/Stories option on the filter menu.

 

3. The filter is added above the records. Click on the Coverage/Stories filter.

4. The Add Stories in Filter pop-up opens. Select the stories and click Submit.

 

Test Cases associated with the selected stories will be listed on the screen.

Unlink Stories

If the story is not required in the test cycle anymore, then you can unlink the story.

Note: Once you unlink the stories from the test cycle, their respective Test Executions will be lost.

 

Steps:

1. Open the test case details page and go to the Story tab.

A. Unlink a single Story: To unlink a single story, hover over the story that you want to unlink and click the Unlink icon.

B. Unlink Stories in Bulk: To unlink stories in bulk, select the stories on the grid and click on the Unlink Stories button.

 

2. The confirmation message pops up showing the test case count linked with the story and the warning of loss of test executions thereof.

3. Click Unlink to proceed.