The Basics

Examples of Simple Queries

Here are some examples of how to write some simple queries. Examples for more complex queries can be found lower in this page.

Fields You Can Search On

You can specify any of these fields like field:value in the search box, to search on them. You can also abbreviate the field name, as long as your abbreviation matches only one field name. So, for example, searching on stat:VERIFIED will find all bugs in the VERIFIED status. Some fields have multiple names, and you can use any of those names to search for them.

For custom fields, they can be used and abbreviated based on the part of their name after the cf_ if you'd like, in addition to their standard name starting with cf_. So for example, cf_fixed_in can be referred to as fixed_in, also. However, if this causes a conflict between the standard Bugzilla field names and the custom field names, the standard field names always take precedence.

Field Field Name(s) For Search
%Complete percentage_complete
Alias alias
Approved Release cf_approved_release
Assignee assigned_toassigneeowner
Assignee Real Name assigned_to_realname
Attachment data attachmentdataattachdata
Attachment description attachmentdescattachdescattachment
Attachment mime type attachmentmimetypeattachmimetype
Blocks blocked
Bug ID bug_id
Build ID cf_build_id
Category cf_category
CC cc
Changed delta_ts
Classification classification
Clone Of cf_clone_of
Close Duplicate Candidate cf_epm_cdp
Cloudforms Team cf_cloudforms_team
Comment descriptionlongdesccomment
Comment Tag comment_tag
Commenter commenter
Compliance Control Group cf_compliance_control_group
Compliance Level cf_compliance_level
Component component
Content content
Creation date creation_ts
CRM cf_crm
Current Deadline cf_deadline
Current Deadline Type cf_deadline_type
Customer Escalation cf_cust_facing
Days since bug changed days_elapsed
Deadline deadline
Dependent Products dependent_products
Depends On dependson
Dev Target Milestone cf_dev_target_milestone
Devel Conditional NAK cf_conditional_nak
Devel Whiteboard cf_devel_whiteboard
DevTestDoc cf_devdoctest
Doc Text cf_release_notes
Doc Type cf_doc_type
Docs Contact docs_contact
Docs Contact Real Name docs_contact_realname
Docs Score cf_docs_score
Documentation cf_documentation_action
Embargoed cf_embargoed
Environment cf_environment
EPM BMP FTW cf_business_market_problem
EPM Priority cf_epm_pri
Ever confirmed everconfirmed
Extra Components extra_components
Extra Versions extra_versions
Fixed In Version cf_fixed_in
Flag Requestee requestee
Flag Setter setter
Flags flag
Group group
Hardware platform
Has Migration Link has_migration_link
Internal SRT notes cf_srtnotes
Internal Target Milestone cf_internal_target_milestone
Internal Target Release cf_internal_target_release
Internal Whiteboard cf_internal_whiteboard
Keywords keywordskw
Last Closed cf_last_closed
Last Visit last_visit_ts
Locked locked
Major Incident cf_major_incident
Mount Type cf_mount_type
Onsite Hardware Date cf_epm_phd
Orig. Est. estimated_time
OS op_sysos
oVirt Team cf_ovirt_team
Partner Requirement State cf_epm_prf_state
Personal Tags tag
PgM Internal cf_pgm_internal
PM Score cf_pm_score
Points Left remaining_time
Points Worked work_time
Pool pool
Pool team team
Priority priority
Product product
Public Target Launch Date cf_epm_ptl
QA Contact qa_contact
QA Contact Real Name qa_contact_realname
QA Whiteboard cf_qa_whiteboard
QE Conditional NAK cf_qe_conditional_nak
Regression cf_regression_status
Reporter reporter
Reporter Real Name reporter_realname
Resolution resolution
RHEL 7.3 requirements from Atomic Host cf_atomic
Rule Engine Rule rh_rule
See Also see_also
Severity severity
Stale Date cf_final_deadline
Status status
Storage Customer Escalation cf_ibm_storage_cust_facing
Storage Devel Whiteboard cf_ibm_storage_devel_whiteboard
Storage QA Whiteboard cf_ibm_storage_qa_whiteboard
Storgae PM Score cf_ibm_storage_pm_score
Story Points cf_story_points
Sub Component rh_sub_components
Summary short_descsummary
Target Milestone target_milestonemilestone
Target Release target_release
Target Upstream Version cf_target_upstream_version
Time Since Assignee Touched owner_idle_time
Type cf_type
Upstream Kernel Target cf_epm_put
URL url
Verified Versions cf_verified_branch
Version version
view view
Votes votes
Whiteboard whiteboardsw
ZStream Target Release cf_zstream_target_release

Advanced Features

Advanced Shortcuts

In addition to using field names to search specific fields, there are certain characters or words that you can use as a "shortcut" for searching certain fields:

Field Shortcut(s)
Status Make the first word of your search the name of any status, or even an abbreviation of any status, and bugs in that status will be searched. ALL is a special shortcut that means "all statuses". OPEN is a special shortcut that means "all open statuses".
Resolution Make the first word of your search the name of any resolution, or even an abbreviation of any resolution, and bugs with that resolution will be searched. For example, making FIX the first word of your search will find all bugs with a resolution of FIXED .
Priority "P1" (as a word anywhere in the search) means "find bugs with the highest priority. "P2" means the second-highest priority, and so on.

Searching for "P1-3" will find bugs in any of the three highest priorities, and so on.

Assignee @value
Product or Component :value
Keywords !value
Flags flag?requestee
Comment or Summary #value
Summary or Whiteboard [value

Examples of Complex Queries

It is pretty easy to write rather complex queries without too much effort. For very complex queries, you have to use the Advanced Search form.