|
Red Hat Bugzilla – Red Hat Bugzilla QuickSearch |
Here are some examples of how to write some simple queries. Examples for more complex queries can be found lower in this page.
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 Red Hat 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 |
| Assignee | assigned_to, assignee, owner |
| Assignee Real Name | assigned_to_realname |
| Attachment data | attachmentdata, attachdata |
| Attachment description | attachmentdesc, attachment, attachdesc |
| Attachment mime type | attachmentmimetype, attachmimetype |
| Blocks | blocked |
| Bug ID | bug_id |
| Category | cf_category |
| CC | cc |
| Changed | delta_ts |
| Classification | classification |
| Clone Of | cf_clone_of |
| Cloudforms Team | cf_cloudforms_team |
| Comment | description, longdesc, comment |
| Commenter | commenter |
| Commits | vcs_commits |
| Component | component |
| Content | content |
| Creation date | creation_ts |
| CRM | cf_crm |
| Days since bug changed | days_elapsed |
| Deadline | deadline |
| Depends On | dependson |
| Doc Text | cf_release_notes |
| Doc Type | cf_doc_type |
| Docs Contact | docs_contact |
| Docs Contact Real Name | docs_contact_realname |
| Documentation | cf_documentation_action |
| Environment | cf_environment |
| 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 |
| Hours Left | remaining_time |
| Hours Worked | work_time |
| Keywords | keywords, kw |
| Last Closed | cf_last_closed |
| Mount Type | cf_mount_type |
| Orig. Est. | estimated_time |
| OS | op_sys, os |
| oVirt Team | cf_ovirt_team |
| Priority | priority |
| Product | product |
| QA Contact | qa_contact |
| QA Contact Real Name | qa_contact_realname |
| Regression | cf_regression_status |
| Reporter | reporter |
| Reporter Real Name | reporter_realname |
| Resolution | resolution |
| RHEL 7.3 requirements from Atomic Host | cf_atomic |
| See Also | see_also |
| Severity | severity |
| Status | status |
| Story Points | cf_story_points |
| Sub Component | rh_sub_components |
| Summary | short_desc, summary |
| Tags | tag |
| Target Milestone | target_milestone, milestone |
| Target Release | target_release |
| Time Since Assignee Touched | owner_idle_time |
| Type | cf_type |
| URL | url |
| Verified Versions | cf_verified_branch |
| Version | version |
| view | view |
| Votes | votes |
| Whiteboard | statuswhiteboard, whiteboard, sw |
You cannot use | nor OR to enumerate possible values for a given field. You must use commas instead. So field:value1,value2 does what you expect, but field:value1|value2 would be treated as field:value1 OR value2, which means value2 is not bound to the given field.
OR has higher precedence than AND; AND is the top level operation. For example:
Searching for url|location bar|field -focus means (url OR location) AND (bar OR field) AND (NOT focus)
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 |
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.