If you just put a word or series of words in the search box,
Bugzilla will search the
Product,
Component,
Alias,
Summary,
and Comment fields for your word or words.
Typing just a number in the search box will take
you directly to the ticket with that ID. Also, just typing the
alias of a ticket will take you to that ticket.
Adding more terms narrows down the search, it does not
expand it. (In other words, Bugzilla searches for
tickets that match all your criteria, not
tickets that match any of your criteria.)
Searching is case-insensitive. So table,
Table, and TABLE are all the same.
Bugzilla does not just search for the exact word you put in,
but also for any word that contains that word.
So, for example, searching for "cat" would also find tickets
that contain it as part of other words—for example, a ticket
mentioning "catch" or "certificate". It
will not find partial words in the Comment
or Keywords fields,
though—only full words are matched, there.
By default, only open tickets are
searched. If you want to know how to also search closed tickets,
see the Advanced Shortcuts section.
If you want to search specific fields, you do it like
field:value, where field is one of the
field names lower down in this
document and value is the value you want to search for
in that field. If you put commas in the value, then it is
interpreted as a list of values, and tickets that match
any of those values will be searched for.
All open tickets where userA@company.com is in the CC list
(no need to mention open tickets, this is the default): cc:userA@company.com
All unconfirmed tickets in product productA (putting the
ticket status at the first position make it being automagically
considered as a ticket status): UNCONFIRMED product:productA
All open and closed tickets reported by userB@company.com
(we must specify ALL as the first word, else only open tickets
are taken into account): ALL reporter:userB@company.com
All open tickets with severity blocker or critical with the
target milestone set to 2.5: severity:blocker,critical milestone:2.5
All open tickets in the component Research & Development
with priority P1 or P2 (we must use quotes for the component as its name
contains whitespaces): component:"Research & Development" priority:P1,P2
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
tickets 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_site can be
referred to as
site,
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
Alineos Sites
cf_alineos_sites
Assignee
assigned_to,
assignee,
owner
Assignee Real Name
assigned_to_realname
Atos/Eviden Sites
cf_bull_sites
Attachment data
attachmentdata,
attachdata
Attachment description
attachmentdesc,
attachdesc,
attachment
Attachment mime type
attachmentmimetype,
attachmimetype
Blocks
blocked
CC
cc
Changed
delta_ts
Classification
classification
CLE Version
cf_cle_version
Comment
description,
longdesc,
comment
Comment Tag
comment_tag
Commenter
commenter
Component
component
Confidential Site
cf_confidential_site
Content
content
Coreweave sites
cf_coreweave_sites
Cray Sites
cf_cray_site
Creation date
creation_ts
Days since ticket changed
days_elapsed
Deadline
deadline
Depends on
dependson
DevPrio
cf_devprio
DS9 clusters
cf_ds9_clusters
Emory-Cloud Sites
cf_emory_cloud_sites
Ever confirmed
everconfirmed
Flag Requestee
requestee
Flag Setter
setter
Flags
flag
Group
group
Hardware
platform
Hours Left
remaining_time
Hours Worked
work_time
HPCnow Sites
cf_hpcnow_site
HPE Sites
cf_hpe_site
IBM Sites
cf_ibmfr_sites
Keywords
keywords,
kw
Last Visit
last_visit_ts
Linux Distro
cf_linux_version
Machine Name
cf_mach_name
NOAA SIte
cf_noaa_site
NoveTech Sites
cf_novetech_sites
Nvidia HWinf-CS Sites
cf_nvidia_hwinfcs_sites
OCF Sites
cf_ocf_sites
Orig. Est.
estimated_time
OS
op_sys,
os
Personal Tags
tag
Priority
priority
Product
product
QA Contact
qa_contact
QA Contact Real Name
qa_contact_realname
Recursion Pharma Sites
cf_recursion_pharma_sites
Reporter
reporter
Reporter Real Name
reporter_realname
Resolution
resolution
See Also
see_also
Severity
severity
SFW Sites
cf_sfw_sites
Site
cf_site
SNIC sites
cf_snic_site
Status
status
Summary
short_desc,
summary
Target Milestone
target_milestone,
milestone
Target Release
cf_target
Ticket ID
bug_id
Time Since Assignee Touched
owner_idle_time
URL
url
Version
version
Version Fixed
cf_verision_fixed
Whiteboard
whiteboard,
sw
Advanced Features
If you want to search for a phrase or something that
contains spaces, commas, colons or quotes, you must put it in quotes, like:
"yes, this is a phrase". You must also use quotes to search for
characters that would otherwise be interpreted specially by quicksearch.
For example, "this|that" would search for the literal string
this|that and would not be parsed as "this OR that".
Also, "-field:value" would search for the literal phrase
-field:value and would not be parsed as
"NOT field:value".
You can use AND, NOT,
and OR in searches.
You can also use - to mean "NOT", and | to mean "OR".
There is no special character for "AND", because by default any search
terms that are separated by a space are joined by an "AND".
Examples:
NOT:
Use -summary:foo to exclude
tickets with foo in the summary. NOT summary:foo would have the same effect.
AND: foo bar searches for tickets that contains
both foo and bar. foo AND bar would have the same effect.
OR: foo|bar would search
for tickets that contain foo OR bar. foo OR bar would have the same effect.
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)
The default operator, colon (:), performs a substring
match of the value. The following operators are supported:
: (substring): summary:foo will search for tickets
where the summary contains foo.
= (equals): summary=foo will search for tickets
where the summary is exactly foo.
!= (notequals): summary!=foo will search for tickets
where the summary is not foo.
> (greaterthan): creation_ts>-2w will search for tickets
where that were created between two weeks ago and now, excluding tickets exactly two weeks old.
>= (greaterthaneq): creation_ts>=-2w will search for tickets
where that were created between two weeks ago and now, including tickets exactly two weeks old.
< (lessthan): creation_ts<-2w will search for tickets
where that were created more than two weeks ago, excluding tickets exactly two weeks old.
<= (lessthaneq): creation_ts<=-2w will search for tickets
where that were created more than two weeks ago, including tickets exactly two weeks old.
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 tickets
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
tickets with that resolution will be searched. For example,
making FIX the first word of your search will find all
tickets with a resolution of FIXED .
Priority
"P1" (as a word anywhere in
the search) means "find tickets with the highest priority.
"P2" means the second-highest priority, and so on.
Searching for "P1-3" will find tickets in
any of the three highest priorities, and so on.
Assignee
@value
Product or
Component
:value
Flags
flag?requestee
Comment
or Summary
#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.
All tickets reported by userA@company.com or assigned to them
(the initial @ is a shortcut for the assignee, see the
Advanced Shortcuts section above): ALL @userA@company.com OR reporter:userA@company.com
All open tickets in product productA with either severity
blocker, critical or major, or with priority P1, or with the blocker+
flag set, and which are neither assigned to userB@company.com nor to
userC@company.com (we make the assumption that there are only two users
matching userB and userC, else we would write the whole login name): :productA sev:blocker,critical,major OR pri:P1 OR flag:blocker+ -assign:userB,userC
All FIXED tickets with the blocker+ flag set, but without
the approval+ nor approval? flags set: FIXED flag:blocker+ -flag:approval+ -flag:approval?
Tickets with That's a "unusual" issue in the
ticket summary (double quotes are escaped using \"): summary:"That's a \"unusual\" issue"