Is there an automatic way to have the defects you add, when executing a test, link to the test case? I have noticed I have to manually link my bugs to the test they were found in, even though I add them as defects.
Also Is there a way to add a test case directly to an issue, instead of having to manually link them?
Now... On to your first question... it depends.
When executing tests (in the 'test execution' view) there are two places to enter defects. One is in-line with the test step. The other is at the top of the screen in a 'Defects' field under the 'Test Execution' section just below the 'Description'. Entering the defect (or other issue type) in the second location will link it directly to the test execution and create an automatic relationship that will appear in three locations:
Currently the defect(s) have to be created/linked at the test step, then again in the 'Defects' field at the top to keep accurate records (or to see which executions have defects at a glance in the three above locations... along with which specific test step experienced issues in the test execution).
It would be helpful if the defect entered at the actual test step in the execution would also be automatically added to the 'Defects' field under the 'Test Execution' section... to then be logged and appear in the locations mentioned above.
So, Zephyr, please consider that an improvement/fix in a future Z4J update.
- Gray -
I'll start with your second question... and in my experience, no. My group is now in the habit of linking manually.
HOWEVER, here's a TIP. One thing that helped us with efficiency was when I added the 'Linked Issues' field to the 'Create Issue' process. That way when starting a test case while reviewing an issue (epic, story, improvement, bug, etc.) we select "Create Issue" from the issue being reviewed. This opens up the "Create Issue" dialogue/pop-up, we select the issue-type (to be created... test), and there is a field/section in that dialogue where we can link the issue we were just reviewing (usually the first one on the drop-down menu list).
Actually, we use the mouse-wheel click to start creating a new issue in another tab entirely. This is because once you select "Create Issue" on a screen the dialogue/pop-up will cover that screen. With a new issue being created in another tab we can switch between the issue being reviewed and the new issue to copy/paste Acceptance Criteria and other details.
By the time we select "Create" at the bottom that dialogue (or screen, as it is), we have entered essentially everything needed to start writing test steps when the new Z4J 'Test' issue is created. That 'Test' case will contain relevant links, descriptions (including acceptance criteria), labels, components, fix versions, etc.
Add the 'Linked Issues' field to the create issue process, or talk with your JIRA admin to make the request.
- Gray -
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG