5.7.201. Bugzilla::Extension::RedHat::WebService::Flag¶
5.7.201.1. NAME¶
Bugzilla::WebService::Flag - The Flag API
5.7.201.2. DESCRIPTION¶
This part of the Bugzilla API allows you to get information on all flags (including attachment flags) associated with a specific set of bugs. Also allows updating of flag information for a specific set of bugs.
5.7.201.3. METHODS¶
See Bugzilla::WebService for a description of what STABLE, UNSTABLE, and EXPERIMENTAL mean, and for more information about error codes.
update
EXPERIMENTAL- Description
This allows you to update flag (including attachment’s flag) for one or more bugs.
- Params
ids
(array), or (int) > - An array of integers, a single integer representing one or more bug ids.nomail
(boolean) Optional - A boolean value to indicate if mail with the bug changes should be sent to the relevant users. If set to 1 thenmail will be suppressed, and if ignored or set to 0 then mail will be sent.
updates
(hash) Required - An array of hashes containing flag fields and the new values it will be updated to. The hash may contain any of the following:
name
(string) - The name of the flag that supposes to be updatedstatus
(“?”, “+”, “-” or “X”) - The flag’s new statusrequestee
(string) Optional - The new requestee if the flagtype is requesteeableflag_id
(id) Optional - Use flag_id to specify the updating flag if there are more than one flags have been set for a specific flagtypenew
(boolean) Optional - If this option is set to “1”, a new flag will be created and set new flag values against the newly created flag.attach_id
(id) Optional - If this option is set, update attachment’s flag instead of bug flag.
This documentation undoubtedly has bugs; if you find some, please file them here.