/
/
Find Todoist tasks for bugs that are already closed
For project managers who want to clear Todoist tasks that point at closed BugHerd bugs, by asking their AI assistant.
On this page
Connector
Connect Todoist, pick your AI tool and paste the prompt.
The problem
Tasks stay open after the bug is closed
Open Todoist tasks keep pointing at bugs that were closed or archived in BugHerd, and closing the bug does not update the task. Nobody notices until someone asks about it at stand-up.
Without PopdockAI
- Read each open Todoist task for a bug number
- Look the bug up in BugHerd
- Check the archive when it is not in the main list
- Find stale tasks only when someone asks at stand-up
With PopdockAI
- Bug numbers and links are pulled from the open tasks
- Each bug is looked up, archived bugs included
- Tasks with closed bugs are listed with the closed date
- References found nowhere are listed separately
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Find open Todoist tasks in project `{todoist-project}` that point at a BugHerd bug in project `{bugherd-project}` that is already closed, done or archived.
**Step 1: Read the open Todoist tasks**
Call `todoist-get-projects` (Todoist server) with `name.contains` set to `{todoist-project}`; if it matches more than one project, list them and stop. Then call `todoist-get-tasks` with that `project-id` and `is-completed` false.
**Step 2: Pull out the bug references**
From each task `content` and `description`, extract BugHerd task numbers (patterns like #123 or bug 123) or BugHerd admin links. Ignore tasks with no reference.
**Step 3: Look the bugs up in BugHerd**
Call `bugherd-get-projects` (BugHerd server) with `name.contains` set to `{bugherd-project}`; stop on zero or multiple matches. For each referenced number call `bugherd-get-tasks` with that `project-id` and `task-number`. If it returns nothing, call `bugherd-get-archived-tasks` with the same filters.
**Step 4: Report**
A table of stale tasks: Todoist task-id, content, due-date, BugHerd task-number, BugHerd status, closed date. Also list references that were found in neither BugHerd list.
**Rules & Guidelines:**
* The Todoist tools are on the Todoist server and the BugHerd tools are on the BugHerd server.
* This prompt is read-only. Never call `todoist-close-task`, `todoist-update-task`, `todoist-delete-task` or `bugherd-update-task`; recommend the clean-up instead.
**Validation:**
* If no Todoist task carries a bug reference, say so and stop.
* Report tasks whose bug is still open as in sync, by count only.Who it's for
One answer, three teams that use it
Project managers
Clear finished work off the board
See which open tasks point at bugs that are already closed, so the board shows only real work.
Which open tasks in Website Fixes refer to closed bugs in the Fabrikam Portal BugHerd project?
Scrum masters
Tidy the sprint list before stand-up
Get a list of stale tasks to remove before the meeting, instead of finding them during it.
Check Todoist project Sprint 14 against the Northwind Traders app BugHerd project and list tasks for closed bugs.
QA leads
Confirm fixed bugs are closed out
See which fixed and archived bugs still have an open task, and which references match no bug at all.
Find Todoist tasks in QA Follow-up that point at archived BugHerd bugs in Contoso Mobile.
How it works
What PopdockAI does when you ask
You name the two projects and your AI assistant checks each bug reference. It only recommends clean-up and never closes or deletes anything.
Ask
You name a Todoist project and a BugHerd project.
Extract
It reads the open tasks and pulls out bug numbers like #123 and BugHerd links.
Look up
It finds each bug in BugHerd, checking archived bugs too if needed.
Report
You get tasks whose bug is closed, plus references it could not find.
What PopdockAI provides
The tools behind the answer
Ready made tools for Todoist and one secure connection to your AI tool. No code, no exports.
todoist-get-projects
todoist-get-tasks
bugherd-get-projects
bugherd-get-tasks
bugherd-get-archived-tasks
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
Task lists match what is really still open
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)
