Track Bugs and Issues in Test Runs
Overview
Test Manager connects the bugs found during testing to the test instances that exposed them. Every test instance in a Test Run carries its own issues, so the run becomes a traceable map of test results and the defects behind them — you can see which tests have known bugs and open any of them in one click.
There are two ways to put a bug on a test instance:
- Link an existing issue — connect a Jira or Azure DevOps ticket that already exists.
- Raise a new bug with Mark as Bug — create a new ticket in your bug tracker while you execute the test.
This works in Manual, KaneAI, and Automation Test Runs.
Before you begin
- To link or raise bugs that are visible inside Test Manager, integrate Jira or Azure DevOps with your TestMu AI account:
- Mark as Bug can also create tickets in other bug tracking tools. See Supported trackers and visibility for what that means inside Test Manager.
How bug tracking works in a Test Run
A bug is always associated with a test instance — one test case running with one configuration inside a Test Run. Whether you link an existing issue or raise a new one, the association is the same, and the bug becomes visible in three places:
- On the test instance level.
- In the Test Run's consolidated Issues tab, which lists every bug in the run.
- Inside the Issues tab of the corresponding Test Case.
You can add a bug from any of these points — from the run's instance list, from inside an instance, or from a specific step of an instance. A bug added at a step is listed with its parent instance, so you always see the complete picture at the instance level.
Link an existing issue to a test instance
Use this when the defect is already tracked in Jira or Azure DevOps and you want to connect it to the test that found it.
- Open the Test Run and stay on the Test Instances tab.
- On the test instance you want, open the bug menu on its row and select Link Issue.
- In the Link Issues dialog, choose the tracker — Jira or Azure DevOps. Only trackers you have integrated are available.
- Enter the issue key or paste its URL.
- Click Link Issue.
The issue is now linked, and the test instance row shows a bug count. That count is your at-a-glance signal for which tests in the run have known defects.
Raise a new bug with Mark as Bug
Use this when you find a defect while executing a test and no ticket exists yet.
- On a test instance — or a specific step within it — choose Mark as Bug.
- In the Create an Issue panel, confirm the bug tracker. Use Switch App to file the bug in a different connected tracker.
- Fill in the issue details, such as the project, issue type, and summary. Required fields are marked. The panel already carries the test instance's context.
- Click Create Issue.
Test Manager files the ticket in your bug tracker without leaving the run. When the ticket is created in Jira or Azure DevOps, it is associated with the test instance and appears in the same views as a linked issue.
Mark as Bug can file tickets in several bug trackers, but only Jira and Azure DevOps tickets are tracked back to the test instance. See Supported trackers and visibility.