Bugzilla:BzAPI:Search: Difference between revisions

Jump to navigation Jump to search
Line 65: Line 65:
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.


You may search all [[Bugzilla:REST_API:Objects#Attachment|attachment fields]], except creation_time, encoding, the ids, the refs, size and token, by specifying a field of "attachment.<fieldname>". 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:


{| border="1"
{| border="1"
Line 78: Line 78:
|idle||Time since bug was last changed by anyone, in days
|idle||Time since bug was last changed by anyone, in days
|-
|-
|flag||Name of a flag
|flag||Name of a flag (on a bug or attachment)
|-
|-
|flag.requestee||Person of whom a flag set is requested (name)
|flag.requestee||Person of whom a flag set is requested (name)
Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925

edits

Navigation menu