/
/
Follow a reported bug all the way to the fix
For developers who want to trace a BugHerd bug to its work item, pull requests and builds, by asking their AI assistant.
On this page
Connector
Connect BugHerd, pick your AI tool and paste the prompt.
The problem
Tracing a bug to its fix takes four screens
Working out whether a reported bug was fixed means hopping from the BugHerd task to its work item, then to pull requests and builds. The path is manual and each hop can be wrong.
Without PopdockAI
- Open the BugHerd task and find its work item
- Open the work item in Azure DevOps
- Find the related pull requests and builds
- Piece the dates together by hand
With PopdockAI
- The task is followed to its work item
- Related pull requests and builds are found
- A timeline shows what happened and when
- It stops when a match is ambiguous, and reads only
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Trace BugHerd task number `{task-number}` in project `{project-id}` to the code changes and builds that address it.
**Step 1: Find the task (BugHerd server)**
Call `bugherd-get-tasks` with project-id `{project-id}` and task-number `{task-number}`. If more than one record or none comes back, say so and stop. Note title, status, severity and external-id. If the task is not in the active list, try `bugherd-get-archived-tasks` with the same filters.
**Step 2: Find the work item (Azure DevOps server)**
If external-id is present, call `azure-devops-get-work-item` with id set to it. If not, call `azure-devops-get-work-item` with title.contains set to the key words of the task title and list the candidates, then continue only with a clear match.
**Step 3: Find pull requests and builds (Azure DevOps server)**
Call `azure-devops-get-pull-request` with title.contains set to the work item id. For each pull request found, note status, source-branch, target-branch and repository-id. Then call `azure-devops-get-build` with repository-id from the pull request and report the most recent builds with result-related fields available.
**Step 4: Report**
A timeline: BugHerd task, work item, pull requests, builds. End with one line saying whether a fix appears to have shipped.
**Rules & Guidelines:**
* `bugherd-get-tasks` and `bugherd-get-archived-tasks` are on the BugHerd server; `azure-devops-get-work-item`, `azure-devops-get-pull-request` and `azure-devops-get-build` are on the Azure DevOps server.
* Read only. Never call `bugherd-update-task`, `bugherd-move-task` or `bugherd-add-comment`.
**Validation:**
* If no work item or pull request is found, report the gap rather than guessing a link.
* Pull request titles that do not mention the work item id are not evidence; say the match is by title only.Who it's for
One answer, three teams that use it
Developers
See what changed for a bug
Find the pull requests and builds behind a bug report without searching Azure DevOps.
Trace BugHerd task 64 in the Contoso Portal project to its Azure DevOps pull requests and builds.
Project managers
Answer when was it fixed
Give the client a dated answer for a bug, backed by the code changes.
When was task 210 in the Fabrikam Shop BugHerd project fixed? Trace it in Azure DevOps.
Release managers
Check a fix made it into a build
Confirm a bug's fix is in a build before you include it in release notes.
Is the fix for Northwind Traders site BugHerd task 97 in an Azure DevOps build yet?
How it works
What PopdockAI does when you ask
You give the BugHerd task and your AI assistant follows it through Azure DevOps. It reads both systems and says when a match is by title only.
01
Ask
You give the BugHerd task.
02
Link
It finds the task's Azure DevOps work item.
03
Follow
It finds the related pull requests and builds.
04
Report
You get a timeline, and a note if any match is by title only.
What PopdockAI provides
The tools behind the answer
Ready made tools for BugHerd and one secure connection to your AI tool. No code, no exports.
bugherd-get-tasks
bugherd-get-archived-tasks
azure-devops-get-work-item
azure-devops-get-pull-request
azure-devops-get-build
This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.
The outcome
One timeline from bug report to fix
Related use cases
More ways to put this data to work
One prompt template with infinite possibilities.
Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.
Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

.webp)
