Dataset
Bugzilla bug history datasets for AI training
A Bugzilla dataset is an extract of one company's self-hosted Bugzilla database: its bugs with status, resolution, severity and priority, their comment threads, attachments such as patches and logs, review flags, duplicate and dependency links, and the bugs_activity log of field changes. SourceX sources it to a buyer's spec from established businesses that run Bugzilla. Each dataset is de-identified, with login names and other personal details replaced, and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- Bugs with fixed triage fields, comments, attachments, flags, duplicate and dependency links, and the activity log
- Typical systems
- Self-hosted Bugzilla on MySQL, MariaDB or PostgreSQL, with custom fields, flag types, time tracking and any local extensions
- Typical history
- Specified by the buyer; Bugzilla does not expire old bugs, so one database often spans a product line's whole life
- Modality
- Structured bug and activity rows; comment text; patches, logs and screenshots as attachment files
- Delivery formats
- Agreed per order; JSONL per bug with nested comments and activity, attachment files, and the value lists
- Preparation
- Login names replaced with stable keys; addresses in text scrubbed; restricted bugs handled as agreed
- Licensing
- Rights reviewed per company; permitted use set in the license
- Availability
- Sourced to your spec from companies that agree; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| bug_id | integer | The bug number from the bugs table, kept as issued so that references to other bugs in comment text still resolve. |
| product_component | object | The Product and Component the bug is filed under, from the products and components tables, with the Classification that groups products where one is used. |
| short_desc | string | The summary line, the short_desc column, as it currently reads; earlier wordings are in the activity log. |
| status | object | Current bug_status and resolution, with the everconfirmed flag that shows whether the bug ever left UNCONFIRMED. |
| triage | object | The bug_severity, priority, version, target_milestone, rep_platform and op_sys values, from the installation's own lists. |
| people | object | Reporter, assigned_to, qa_contact and the CC list, each a key that replaces a profiles login name. |
| comments | array | Rows of the longdescs table in order: author key, bug_when, thetext and isprivate; comment 0 is the description. |
| attachments | array | Attachment rows with filename, mimetype, ispatch, isobsolete, isprivate and submitter, and the bytes from attach_data. |
| flags | array | Flags on the bug or on one attachment: flag type name, status of ?, + or -, setter and requestee. |
| activity | array | Rows of bugs_activity: who, bug_when, field name, removed and added values, and the attachment a change applied to. |
| links | object | Blocks and depends on pairs from the dependencies table, the duplicates row, and See Also URLs. |
| keywords_whiteboard | object | Keywords from the administrator-defined list, and the free-text status_whiteboard teams use for ad hoc tags. |
| visibility | object | Whether the bug was restricted to a group through bug_group_map, and how many private comments were withheld. |
Field names from the table above; values are masked placeholders.
Example record
{
"bug_id": 48213,
"product_component": {"product": "Gateway Firmware", "component": "Bootloader"},
"short_desc": "Unit hangs at stage 2 after warm reset when watchdog is armed",
"status": {"bug_status": "RESOLVED", "resolution": "FIXED", "everconfirmed": true},
"triage": {"bug_severity": "major", "priority": "P2", "version": "4.2", "target_milestone": "4.2.1", "rep_platform": "ARM"},
"people": {"reporter": "user_0412", "assigned_to": "user_0077", "qa_contact": "user_0131", "cc": ["user_0019"]},
"comments": [
{"count": 0, "who": "user_0412", "bug_when": "2016-03-08 14:02:11", "thetext": "Arm the watchdog, then warm reset from the console. Board stops after the stage 2 banner. Cold boot is fine."},
{"count": 3, "who": "user_0077", "bug_when": "2016-03-10 09:41:50", "isprivate": false, "thetext": "(In reply to [NAME] from comment #2)\nWatchdog is still counting when stage 2 reinitializes the timer block. Patch attached."}
],
"attachments": [
{"attach_id": 9107, "filename": "wdt-reset-order.patch", "ispatch": true, "isobsolete": false, "submitter": "user_0077", "file": "attachments/9107.patch"}
],
"flags": [
{"name": "review", "status": "+", "attach_id": 9107, "setter": "user_0019"}
],
"activity": [
{"who": "user_0131", "bug_when": "2016-03-08 16:20:03", "field": "bug_status", "removed": "UNCONFIRMED", "added": "CONFIRMED"},
{"who": "user_0019", "bug_when": "2016-03-11 10:05:37", "field": "flagtypes.name", "attach_id": 9107, "removed": "review?(user_0019)", "added": "review+"},
{"who": "user_0077", "bug_when": "2016-03-11 13:12:09", "field": "bug_status", "removed": "CONFIRMED", "added": "RESOLVED"},
{"who": "user_0077", "bug_when": "2016-03-11 13:12:09", "field": "resolution", "removed": "", "added": "FIXED"}
],
"links": {"blocks": [47990], "depends_on": [], "dupe_of": null, "dupes": [48377]},
"keywords_whiteboard": {"keywords": ["regression"], "status_whiteboard": "[needs-hw-lab]"},
"visibility": {"groups": [], "private_comments_withheld": 1}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Train triage and routing
Report text against the Product, Component, severity and priority that triagers settled on, with each reassignment.
Detect duplicate reports
Rows of the duplicates table are labeled pairs, and unlinked bugs filed in the same weeks are natural negatives.
Predict how a bug resolves
INVALID, WONTFIX and WORKSFORME outcomes sit beside FIXED ones, each with the thread behind the decision.
Learn patch review
Obsoleted patches, refused review flags and the granted patch run from first attempt to accepted fix.
Evaluate agents on long histories
Dependency chains and bugs reopened years later test whether a model can follow a defect across releases.
Use-case guides: Coding agents, Private evaluation sets, Enterprise and computer-use agents
What makes this data valuable
Activity log present
The extract includes bugs_activity for every bug, not only the current row.
Value lists delivered
The installation's statuses, resolutions, severities, keywords and flag types come with the data.
Attachments with bytes
Patches and logs arrive as files, with obsolete and private marks intact.
Resolved link targets
Duplicate, blocks and depends on targets are in scope or listed as excluded.
Consistent person keys
One key per account across reporter, comments, CC changes, flags and activity.
Disciplined resolutions
VERIFIED follows fixes, and WORKSFORME is not a catch-all for closing old bugs.
Record timeline
Bugzilla dataset
Fixed triage vocabulary, and a change log that starts after filing
Every bug is one row in the bugs table, with triage fields drawn from short lists. Status moves through UNCONFIRMED, CONFIRMED and IN_PROGRESS to RESOLVED and VERIFIED, and installations that began on older releases may still use NEW, ASSIGNED, REOPENED and CLOSED. A resolved bug must carry a resolution, by default FIXED, INVALID, WONTFIX, DUPLICATE or WORKSFORME, and the everconfirmed column records whether anyone ever confirmed the report. An administrator can edit these lists, so ask for the installation's own. Links are typed too. Resolving a bug as DUPLICATE writes a row to the duplicates table and an automatic comment on both bugs, and the dependencies table stores each blocks and depends on pair once, with a direction.
The bugs row holds current values only. The bugs_activity table holds one row per change: who made it, when, which field, and the removed and added text. It has no row for the values a bug was filed with, so the as-filed state of a field is the removed value of its first activity row, or the current value if it never changed. The original triage has to be replayed backward from the present. The description is safer: it is stored as the first comment, and stock Bugzilla has no comment editing, so the report as filed survives unless the installation runs a fork or extension that adds it.
Bugzilla is a code review record as well. A patch is an attachment with ispatch set, a revised patch can mark the earlier one obsolete, and reviewers answer through flags whose status is a question mark, a plus or a minus, with a setter and an optional requestee. Flag changes are written to bugs_activity against the attachment, so obsoleted patches, refusals and the granted review form a labeled history of a fix. Bugzilla does not record which commit landed a patch, except where a repository hook or a person wrote it into a comment.
What a database dump holds that the XML and CSV exports do not
Bugzilla runs on the company's own MySQL, MariaDB or PostgreSQL database, so the owner can take a full dump with mysqldump or pg_dump. The built-in exports are narrower. The XML view of a bug carries its current fields, the comments the exporting account may see and, unless excluded, attachment contents in base64, but no activity history. The CSV export of a bug list has one row per bug and no comments. The web service API returns history, comments and attachments bug by bug, limited to what the calling account's groups allow, and its history has the same gap as the table: changes only.
The dump has the opposite problem: it holds everything. The profiles table stores each account's login name, which in a default installation is the person's email address, beside the real name and a password hash, and other tables hold session cookies, tokens and API keys. Those tables should stay with the owner, and delivery should be an extract with user IDs replaced by stable keys. Login names also sit inside text: in the removed and added values of activity rows for CC, assignee and flag changes, and in the reply header Bugzilla inserts when one comment quotes another. Bugs restricted to a group through bug_group_map, the usual way to hide security bugs, and comments or attachments marked private for the insider group need an explicit decision on scope.
Three checks work on a sample. Replay each bug's activity backward from the bugs row and confirm no step contradicts another. Join split rows first: Bugzilla writes a change too long for one row, such as a mass CC or keyword edit, as several rows with one user and timestamp. Confirm that every bug resolved DUPLICATE has a duplicates row whose target is delivered or declared out of scope. Then open the attachments, since contents live in the attach_data table or, where an administrator set large attachments to be stored on the web server, in files that a database dump does not include. Read customer crash logs before accepting them.
What to check before licensing
- Have the buyer's counsel and the data owner check the license Bugzilla is distributed under, and any hosting provider's terms, as they apply to exported data and API use.
- Ask whether the extract came from a database dump, the XML export or the API, and confirm that bugs_activity rows and attachment contents are included.
- Ask how bugs restricted through bug_group_map, private comments and time-tracking values were handled, and how many bugs each rule removed.
- Search comment text, activity values, flag requestees and reply headers for email addresses, since Bugzilla login names are addresses by default.
- Open a sample of attachments, especially customer crash logs, core dumps and screenshots, and check for personal data, credentials and third-party code.
- Request the installation's status workflow, resolution, severity, keyword and flag type lists and its cf_ custom field definitions, and ask whether an upgrade renamed statuses.
- On the sample, replay activity backward to the as-filed state for a set of bugs, and check that duplicate and dependency targets resolve.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
What does a Bugzilla dataset contain?
It contains the bugs of one company's installation with everything attached to them: Product and Component, status, resolution, severity and priority, the comment thread, attachments such as patches and logs, review flags, CC list, keywords, and duplicate and dependency links. The bugs_activity log adds who changed which field, when, and from what value.
Can a bug be seen as it was originally filed?
Mostly, yes. The description is stored as the first comment and stock Bugzilla has no comment editing, so the original text is intact unless a fork or extension added it. Triage fields differ: the activity log records changes only, so the as-filed severity, component and summary are recovered by replaying changes backward. Ask whether the extract did this.
Is the XML or CSV export enough?
Not for training on triage history. The XML view gives current field values, comments and attachments but no record of field changes, and the CSV bug list gives one row per bug without comments. The change log is in the bugs_activity table, reachable through the API's history method or a database extract.
How are security bugs and private comments handled?
A database extract contains them unless a rule removes them, so the buyer and the data owner should agree that rule in the spec. Bugzilla restricts a bug by placing it in one or more groups, and members of the insider group can mark single comments and attachments private. Ask for the count of bugs, comments and attachments each rule excluded.
How are reporter email addresses removed?
Account references are replaced with stable keys, and free text is scrubbed separately. In a default installation the login name is an email address, and it appears in the reporter, assignee, QA contact and CC fields, in activity rows and in flag requests. Names also appear in quoted-reply headers inside comments. No method is perfect.
Is SourceX affiliated with the Mozilla Foundation?
Bugzilla is named to identify the system the records come from. That does not imply a partnership with or endorsement by the Mozilla Foundation or the Bugzilla open source project. The records belong to the business that runs Bugzilla, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Bug reports with reproduction steps and verified fixes
Defect records from report to triage outcome, fixing change and QA verification
- Jira issue histories
Issues from a Jira site with their changelog, comments, links and sprints, plus the site's field and workflow definitions
- YouTrack issue histories
Issues with per-project custom fields, comments, work items and links, plus the typed activity items that record each change
- Phabricator revisions and task histories
Differential revisions with diffs and inline comments, Maniphest tasks, Diffusion commits and wiki pages, each with its transaction log and cross-references
- Customer bug reports with triage and resolution
Customer-filed defect reports joined to triage, the engineering issue, the fix and the customer notification
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.