Search Bugzilla bugs
search_bugsFind bugs in Mozilla's Bugzilla using quicksearch and structured filters for product, component, status, keywords, and dates. Returns matching bug lists or counts.
Instructions
Search bugzilla.mozilla.org for bugs. Combine free-text quicksearch with structured filters.
Quicksearch syntax highlights (https://bugzilla.mozilla.org/page.cgi?id=quicksearch.html):
Plain words search summary/comments/whiteboard; a leading
ALLincludes closed bugs, otherwise only open bugs are matched.Prefix shortcuts:
product:Firefox,component:"Address Bar",status:NEW,assignee:someone@mozilla.com,keyword:crash,whiteboard:[foo],flag:needinfo?,P1,S2,regression.A bare bug number returns that bug.
Structured filters (product/component/status/...) apply to all bugs regardless of open/closed unless status is given.
status accepts real statuses (UNCONFIRMED, NEW, ASSIGNED, REOPENED, RESOLVED, VERIFIED, CLOSED) or the pseudo-values __open__ / __closed__ / __all__.
Time filters accept ISO timestamps (2024-01-01T00:00:00Z), dates (2024-01-01) or relative values like -7d, -2w, -1m, -1y.
Use advanced_filters for anything not covered (e.g. {field: "cf_crash_signature", operator: "substring", value: "nsThread"}, {field: "flagtypes.name", operator: "substring", value: "needinfo?"}, {field: "delta_ts", operator: "changedafter", value: "-7d"}). Full-text comment searches (longdesc) are slow on bugzilla.mozilla.org; always narrow them with product/status filters.
Set count_only to get just the number of matching bugs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Bug type(s) | |
| limit | No | Maximum bugs to return (default 25) | |
| order | No | Sort order, comma-separated field names with optional DESC, e.g. 'changeddate DESC' or 'priority,bug_id'. Bugzilla defaults to relevance/id. | |
| offset | No | Skip this many results (for paging) | |
| op_sys | No | ||
| status | No | Status value(s) or __open__ / __closed__ / __all__ | |
| creator | No | Reporter email/login | |
| product | No | Product name(s), e.g. ['Firefox', 'Core', 'Toolkit', 'DevTools', 'Fenix'] | |
| summary | No | Substring that must appear in the summary (case-insensitive) | |
| version | No | ||
| keywords | No | Keyword(s) the bug must have, e.g. ['regression', 'crash', 'good-first-bug'] | |
| platform | No | ||
| priority | No | Priority value(s): P1..P5 or '--' | |
| severity | No | Severity value(s): S1..S4, N/A, or '--' | |
| component | No | Component name(s), e.g. ['Address Bar'] | |
| count_only | No | Return only the count of matching bugs | |
| resolution | No | Resolution(s), e.g. ['FIXED'], ['---'] for unresolved | |
| whiteboard | No | Substring that must appear in the status whiteboard | |
| assigned_to | No | Assignee email/login; use 'nobody@mozilla.org' for unassigned | |
| quicksearch | No | Free-text quicksearch query, e.g. 'ALL crash on startup product:Firefox' | |
| creation_time | No | Only bugs created at/after this time (ISO date/time or relative like -30d) | |
| include_fields | No | Bug fields to return. Defaults to a compact summary set. Use ['_default'] for Bugzilla's default field set or ['_all'] for everything. | |
| advanced_filters | No | Bugzilla boolean-chart filters (f1/o1/v1). All filters are AND-ed. | |
| last_change_time | No | Only bugs changed at/after this time (ISO date/time or relative like -7d) | |
| target_milestone | No | ||
| additional_params | No | Escape hatch: raw query parameters passed straight to /rest/bug (e.g. {"cf_fx_points": "3"}) |