Search in Bugzilla

This page provides hints and tips how to create queries for Bugzilla.

Multiple Values

Specifying multiple values is handled differently depending on the search parameter. While querying for different status the query parameter is added repeatedly to the query string.

        status=CLOSED&status=NEW&status=RESOLVED
       

List parameters like keywords are handled differently. Here the query values are specified as a comma separated (spaces allowed) list.

        keywords=break.api,break.deprecated,break.runtime,break.removed
       

The following query parameters are expecting their values as a comma separated list:

  • bug_file_loc
  • keywords
  • long_desc
  • short_desc
  • status_whiteboard

Keyword types

If you want to provide more than one keyword for a query parameter that expects a comma separated list as its value, you have to advice Bugzilla how the elements of the list should be interpreted.

Valid parameter values for the keywordsType parameter are:

  • allwords
  • nowords
  • anywords

Valid parameter values for the bug_file_loc_type, long_desc_typ, short_desc_typ, and status_whiteboard_type parameter are:

  • allwordssubstr
  • anywordssubstr
  • substring
  • casesubstring
  • allwords
  • anywords
  • substring
  • regexp
  • notregexp