5.7.246. Bugzilla::Extension::Workflows::WebService::GroupRequest¶
5.7.246.1. NAME¶
Bugzilla::Extension::Workflows::WebService::GroupRequest - API for handling Adminsitration actions for the Bugzilla::Extension::Workflows extension.
5.7.246.2. DESCRIPTION¶
This part of the Bugzilla API allows you to manage how groups are exposed in the request forms.
{
"method": 'GroupRequest.update_group',
"params": {
"group": "thegroup",
"managed": 1,
"regex": ".*@example.net$",
"ccs": "theboss@example.net,anotherboss@example.net",
"approval_group": "admin"
}
}
5.7.246.3. METHODS¶
See Bugzilla::WebService for a description of what STABLE, UNSTABLE, and EXPERIMENTAL mean, and for more description about error codes.
update_group
EXPERIMENTAL¶
Description¶
Update a group’s approvals settings.
Params¶
- group:
- string The name of the group being modified.
- managed:
- boolean Should this group be exposed on the request page?
- invite_only:
- boolean This group cannot be directly applied for by users, instead a user has to be invited by someone in the approval group.
- regex:
- string The regular expression to match logins on.
- approval_group:
- string name of the group to use for approvals.
- ccs:
- string A comma separated list of users to CC when this group is requested.
get_groups
EXPERIMENTAL¶
Description¶
Get the approvals settings for a category of groups.
Params¶
- category:
- string The name of the group category to fetch.
Returns¶
An array of hashes, one for each group in the category, containing the following.
- name:
- string The name of the group being modified.
- managed:
- boolean Should this group be exposed on the request page?
- invite_only:
- boolean This group cannot be directly applied for by users, instead a user has to be invited by someone in the approval group.
- regex:
- string The regular expression to match logins on.
- approval_group:
- string name of the group to use for approvals.
- ccs:
- string A comma separated list of users to CC when this group is requested.
This documentation undoubtedly has bugs; if you find some, please file them here.