AnsweredAssumed Answered

Test Cases assigned to defects lost when splitting stories

Question asked by NikolayKanov1360140 on Jan 18, 2017
Latest reply on Jan 24, 2017 by NikolayKanov1360140

Hello,

I'm having an issue with test cases attached to defects and splitting stories. Here is the basic scenario of the process we follow:

1. Create a bunch of test cases attached to a user story. (from the story UI, Test Cases tab)

2. To go Test Run tab and start adding results and defects for each test case.

3. Once the sprint is up and the story still has open defects, the story needs to be split.

4. The Split Story screen lets you choose what to do with the assigned defects and test cases - you can leave them behind or move them to the new one. So we move the unfinished defects and leave the finished ones behind. We split the story directly without creating a parent.

There seems to be a limitation where each defect assigned to a user story can only refer to a test case from that particular story.

 

So I'm faced with the following choice:

Option 1: Leave test cases referring to finished defects in the old story. This preserves the defect to test case relationships, but leaves my test cases scattered across multiple stories.

Option 2: Move all test cases to the new story. (I can't move the defects as well, since there's work done there already). This means that all my test cases are in the same story, as I want them to be, but the finished defects left behind no longer have test cases attached to them.

 

I'm not sure if using a parent story when splitting could solve this, but I'd like to avoid that if at all possible.

I've been using Rally for years, but this is the first time I'm using it for test cases, so there might be something very simple I'm missing. Ideally, I'd like to just remove the restriction, so that when a defect is attached to a story, I can attach any existing test case to it as well. If that's not possible, any reasonable workaround would also help.

Any help or comments would be highly appreciated!

Outcomes