2.5. Finding Bugs

Bugzilla has a number of different search options.

Note

Bugzilla queries are case-insensitive and accent-insensitive when used with either MySQL or Oracle databases. When using Bugzilla with PostgreSQL, however, some queries are case sensitive. This is due to the way PostgreSQL handles case and accent sensitivity.

2.5.1. Quicksearch

Quicksearch is a single-text-box query tool. You’ll find it in Bugzilla’s header or footer.

Quicksearch uses metacharacters to indicate what is to be searched. For example, typing

foo|bar

into Quicksearch would search for “foo” or “bar” in the summary and status whiteboard of a bug; adding

:BazProduct

would search only in that product.

You can also use it to go directly to a bug by entering its number or its alias.

Read the full quick search documentation.

2.5.5. Sort Order

To control the ordering of the bug list you can select an order from the drop down labeled “Sort results by”. Selecting from this list adds the order parameter to the search URL.

The order parameter takes a comma separated list of internal fields names, as well as an optional direction (ASC or DESC) to sort in.

e.g. order=assigned_to DESC, bug_status ASC, priority

If you order a bug list by clicking the column headings on the bug list page, then editing the search will set the order parameter and list the full order in the Last search order area.

The values in the order drop down have the following affects:

Reuse same sort as last time:
Use the same order as the last search. Can be customized on the bug list page. Order is listed below the drop down.
Bug Number:
Sort by: bug_id
Importance:
Sort by: priority, bug_severity
Assignee:
Sort by: assigned_to, bug_status, priority, bug_id
Last Changed:
Sort by: changeddate, bug_status, priority, assigned_to, bug_id

If no order is provided then the default order of bug_status, priority, assigned_to, bug_id is used.

2.5.6. Bug Lists

The result of a search is a list of matching bugs.

The format of the list is configurable. For example, it can be sorted by clicking the column headings. Other useful features can be accessed using the links at the bottom of the list:

Long Format:
this gives you a large page with a non-editable summary of the fields of each bug.
XML (icon):
get the buglist in an XML format.
CSV (icon):
get the buglist as comma-separated values, for import into e.g. a spreadsheet.
Feed (icon):
get the buglist as an Atom feed. Copy this link into your favorite feed reader. If you are using Firefox, you can also save the list as a live bookmark by clicking the live bookmark icon in the status bar. To limit the number of bugs in the feed, add a limit=n parameter to the URL.
iCalendar (icon):
Get the buglist as an iCalendar file. Each bug is represented as a to-do item in the imported calendar.
Change Columns:
change the bug attributes which appear in the list.
Change Several Bugs At Once:
If your account is sufficiently empowered, and more than one bug appears in the bug list, this link is displayed and lets you easily make the same change to all the bugs in the list - for example, changing their assignee.
Send Mail to Bug Assignees:
If more than one bug appear in the bug list and there are at least two distinct bug assignees, this links is displayed which lets you easily send a mail to the assignees of all bugs on the list.
Edit Search:
If you didn’t get exactly the results you were looking for, you can return to the Query page through this link and make small revisions to the query you just made so you get more accurate results.
Remember Search As:
You can give a search a name and remember it; a link will appear in your page footer giving you quick access to run it again later.

2.5.6.1. Table Legend

The bug list table contains a number of icons used to indicate attributes of a bug.

  • Secure: A secure bug is a bug that has any groups set on it.
  • Ignored: An ignored bug is a bug that you have told Bugzilla not to notify you about.
  • Updated: An updated bug is a bug that you are involved in that has been updated since the last time you viewed it. “Involved” means you are one of reporter, assignee, qa contact, or you are CC’d on the bug.
  • Requested: A requested bug is a bug that has flags that you are specifically requested on. i.e. needinfo or similar targeted flags.

2.5.6.2. DataTables

DataTables is used on bug lists to provide interactivity for users.

Row selection

Rows can be selected by using the standard selection processes for your Operating System. e.g. generally the same way as you select rows in a spreadsheet.

See Type: os on datatables.net.

This feature is provided by the RowGroup extension.

Column Order

You can change the order of columns, excluding the bug_id column, displayed in the table at anytime by dragging and dropping them.

This feature is provided by the ColReorder extension.

Edit Button

After selecting rows this button will be enabled. Clicking it will display the Bulk Edit form which allows making changes to all selected Bugs in one transaction.

On the Bulk Edit form you need to have a product selected to see fields that are limited by product or classification, or that have values that are specific to products or classifications. If you are not seeing a field or field values that you want to change then you may need to specify a product to see it.

Export Button

This button displays a drop down that allows exporting the bug lists in several formats.

This feature is provided by the RowGroup extension.

Column Visibility Button

This button displays a drop down that allows hiding and showing columns in the table. This is useful for having data in the table but hidden for when performing actions where you don’t need them visible.

When you select a field in Row Groups Button it will automatically be hidden, you can make it visible again using this button.

This feature is provided by the Buttons extension.

Row Groups Button

This button allows grouping data in the table in to visually distinct areas. It can reorder data and will rerun the search on the server to correctly order the results.

When you select a field it will automatically be hidden. you can make it visible again using the Column Visibility Button.

When you unselect a field it will automatically be unhidden.

You can select up to two fields to groups on.

This feature is provided by the RowGroup extension.

Filters Button

This buttons displays a modal form that allows filtering the current page of data on the client. Currently this filtering is limited to the status, product, assignee and component fields.

If you take any action that reloads the table content, such as using Row Groups of reordering the table, then the filters will be removed.

This feature is provided by the SearchPanes extension.

Save State Button

This button displays a modal form that allows saving the current table state to the browser’s local storage.

The following table configurations can be saved this way:

  • Page Length
  • Paging
  • Search
  • SearchPanes
  • Select
  • Sorting

If your browser is configured to clear local storage you will lose any states saved this way.

This feature is provided by the StateRestore extension.

Load State Button

This button displays a modal form that allows loading saved states from the browser’s local storage.

This feature is provided by the StateRestore extension.

Selection Button

This button displays a drop down allowing a variety of ways to select and unselect rows.

This feature is provided by the Select extension.


This documentation undoubtedly has bugs; if you find some, please file them here.