Bugzilla::Webservice::Group - The API for creating, changing, and getting information about Groups.
This part of the Bugzilla API allows you to create Groups and get information about them.
See Bugzilla::WebService for a description of how parameters are passed, and what STABLE, UNSTABLE, and EXPERIMENTAL mean.
UNSTABLE
This allows you to create a new group in Bugzilla.
Some params must be set, or an error will be thrown. These params are marked Required.
nameRequired string A short name for this group.
Must be unique.
This is not usually displayed in the user interface,
except in a few places.
descriptionRequired string A human-readable name for this group.
Should be relatively short.
This is what will normally appear in the UI as the name of the group.
user_regexpstring A regular expression.
Any user whose Bugzilla username matches this regular expression will automatically be granted membership in this group.
is_activeboolean True if new group can be used for bugs,
False if this is a group that will only contain users and no bugs will be restricted to it.
icon_urlstring A URL pointing to a small icon used to identify the group.
This icon will show up next to users' names in various parts of Bugzilla if they are in this group.
A hash with one element,
id.
This is the id of the newly-created group.
You must specify a value for the name field.
There is already another group with the same name.
You must specify a value for the description field.
You specified an invalid regular expression in the user_regexp field.
UNSTABLE
This allows you to update a group in Bugzilla.
At least ids or names must be set,
or an error will be thrown.
idsRequired array Contain ids of groups to update.
namesRequired array Contain names of groups to update.
namestring A new name for group.
descriptionstring A new description for groups.
This is what will appear in the UI as the name of the groups.
user_regexpstring A new regular expression for email.
Will automatically grant membership to these groups to anyone with an email address that matches this perl regular expression.
is_activeboolean Set if groups are active and eligible to be used for bugs.
True if bugs can be restricted to this group,
false otherwise.
icon_urlstring A URL pointing to an icon that will appear next to the name of users who are in this group.
A hash with a single field "groups".
This points to an array of hashes with the following fields:
idint The id of the group that was updated.
changeshash The changes that were actually done on this group.
The keys are the names of the fields that were changed,
and the values are a hash with two keys:
addedstring The values that were added to this field,
possibly a comma-and-space-separated list if multiple values were added.
removedstring The values that were removed from this field,
possibly a comma-and-space-separated list if multiple values were removed.
The same as "create".