Bugzilla:BzAPI:Search: Difference between revisions

No edit summary
Line 66: Line 66:


A Note on Plurality: some fields on the Bug object whose values are arrays are linguistically plural, but search only applies to a single instance. The field names for search in these cases are in the singular. This applies to: comments, attachments, flags, and groups.
A Note on Plurality: some fields on the Bug object whose values are arrays are linguistically plural, but search only applies to a single instance. The field names for search in these cases are in the singular. This applies to: comments, attachments, flags, and groups.
Note that you can't construct a Boolean Chart where the "value" is the empty string. One way to get around this is to use a regex match for "^$".


You may search many [[Bugzilla:REST_API:Objects#Attachment|attachment fields]] by specifying a field of "attachment.<fieldname>". The exceptions are  creation_time, encoding, the ids, the refs, size and token. Flags on either attachments or bugs are searched for using the same fields below. Additional field values you can use are:
You may search many [[Bugzilla:REST_API:Objects#Attachment|attachment fields]] by specifying a field of "attachment.<fieldname>". The exceptions are  creation_time, encoding, the ids, the refs, size and token. Flags on either attachments or bugs are searched for using the same fields below. Additional field values you can use are:
Line 89: Line 91:
|}
|}


<a name="types"></a>
Type values you can use are:
Type values you can use are:


Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925

edits