The query functions let you inspect the ticket database without modifying any state. They are safe to call from dashboards, CI gating scripts, reports, and monitoring loops. Every function accepts an optionalDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/onenot8/issueLoop/llms.txt
Use this file to discover all available pages before exploring further.
repo parameter — pass None or omit it to query across all repositories.
get_all_bugs
Returns every ticket in the database regardless of status or age.Optional repository filter.
None returns tickets from all repos.get_unresolved_bugs
Returns tickets whose status ispending, in_progress, blocked, or needs_human — everything except done and failed.
Optional repository filter.
get_resolved_bugs
Returns tickets whose status isdone.
Optional repository filter.
get_failed_bugs
Returns tickets whose status isfailed.
Optional repository filter.
get_bugs_needing_human
Returns tickets whose status isneeds_human — tickets that were escalated and require manual attention.
Optional repository filter.
escalation_summary explaining why the ticket was escalated.
get_bugs_by_status
Returns tickets matching a specific status string. Use this when the convenience wrappers above don’t cover the status you need (e.g.blocked or in_progress).
One of:
pending, in_progress, blocked, done, failed, needs_human.Optional repository filter.
get_bugs_by_priority
Returns tickets matching a specific priority level.One of:
blocking, high, normal, low.Optional repository filter.
get_bug
Returns a single ticket by its UUID, orNone if the ticket is not found.
UUID of the ticket to retrieve.
None.
get_bug_count
Returns the total number of tickets in the database, optionally scoped to one repository.Optional repository filter.
int.
get_bug_count_by_status
Returns a dict mapping each status to the number of tickets currently in that state. All status keys are always present in the returned dict even if their count is zero.Optional repository filter.
pending, in_progress, blocked, done, failed, needs_human and int values.
search_bugs
Performs a case-insensitive substring search against theerror_summary field of all tickets.
Substring to search for in
error_summary. Case-insensitive.Optional repository filter.
get_oldest_bug
Returns the ticket with the earliestcreated_at timestamp.
Optional repository filter.
None if there are no tickets.
get_newest_bug
Returns the ticket with the most recentcreated_at timestamp.
Optional repository filter.
None if there are no tickets.