/
/
Catch BugHerd tasks out of step with work items
For developers who want BugHerd task statuses compared with their Azure DevOps work items, by asking their AI assistant.
On this page
Connector
Connect BugHerd, pick your AI tool and paste the prompt.
The problem
Bug status in BugHerd and Azure DevOps drifts apart
Someone compares BugHerd task statuses with Azure DevOps work items by hand. Tasks that drift out of sync, done in one tool and open in the other, are missed.
Without PopdockAI
- Open each linked task in BugHerd
- Look up its work item in Azure DevOps
- Compare the two statuses by eye
- Miss pairs that are done on one side only
With PopdockAI
- Tasks carrying a work item id are read
- Each work item's state is looked up
- Disagreeing statuses are listed
- Missing items and bad ids are flagged, nothing guessed or changed
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Reconcile BugHerd tasks in project `{project-id}` created in the last `{lookback-days}` days (default 30) against the Azure DevOps work items they point to.
**Step 1: Read the BugHerd tasks (BugHerd server)**
Call `bugherd-get-tasks` with project-id `{project-id}` and created.from set to today minus the lookback. Keep only tasks whose external-id is not empty. Treat external-id as an Azure DevOps work item id.
**Step 2: Look up each work item (Azure DevOps server)**
For each kept task, call `azure-devops-get-work-item` with id set to the task's external-id. Take state, assigned-to and title from the result. If no work item comes back, mark the task "work item not found".
**Step 3: Compare**
Mark a task as a mismatch when BugHerd status is done or closed but the work item state is not Done/Closed/Resolved, or when the work item is Done/Closed/Resolved but the BugHerd status is still open. Also flag titles that differ completely.
**Step 4: Report**
A table with task-number, BugHerd title, BugHerd status, external-id, work item state, assigned-to and verdict (in sync, mismatch, work item not found). Finish with counts per verdict.
**Rules & Guidelines:**
* `bugherd-get-tasks` is on the BugHerd server; `azure-devops-get-work-item` is on the Azure DevOps server.
* Read only. Never call `bugherd-update-task`, `bugherd-add-comment`, `bugherd-move-task` or `bugherd-add-task`.
**Validation:**
* If no tasks have an external-id, say so and stop.
* If external-id is not numeric, report the task as "unusable external-id" and continue.Who it's for
One answer, three teams that use it
Developers
Close the loop on fixed bugs
Find bugs you finished in Azure DevOps that still look open to the client in BugHerd.
Which Contoso Portal BugHerd tasks are open while their Azure DevOps work item is done?
Delivery managers
Report on status you can trust
Clear up mismatched statuses before you share a progress update.
Reconcile the Fabrikam Shop BugHerd bugs with their Azure DevOps work items before Friday's report.
Integration engineers
Find broken links between tools
Spot tasks pointing at work items that do not exist or ids that are not valid.
List Northwind Traders site BugHerd tasks with missing or invalid Azure DevOps work item ids.
How it works
What PopdockAI does when you ask
You name the BugHerd project and your AI assistant compares each linked task with its Azure DevOps work item. Both systems are only read.
01
Ask
You name the BugHerd project.
02
Read
It reads the tasks that carry a work item id.
03
Look up
It reads each work item's state in Azure DevOps.
04
Report
You get statuses that disagree, missing work items and invalid ids.
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
azure-devops-get-work-item
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
Reporters and developers see the same state
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)
