5.7.144. Bugzilla::Extension::AgileTools::WebService::Team

5.7.144.1. NAME

Bugzilla::Extension::AgileTools::WebService::Team - Team manipulation WS methods

5.7.144.2. DESCRIPTION

Web service methods available under namespace ‘Agile.Team’.

5.7.144.3. METHODS

  • update
Description: Updates team details
Params:      id - Team id
             name - (optional) Change team name
Returns:     Changes hash like from L<Bugzilla::Object::update>
  • add_member
Description: Add a new team member
Params:      id - Team ID
             user - User login name or id
             note - A note about the user
Returns:     The new list of team members
  • remove_member
Description: Remove a team member
Params:      id - Team ID
             user - User login name or id
Returns:     The new list of team members
  • add_member_role
Description: Add new role to a team member
Params:      id - Team id
             user - Team member user id or login name
             role - New role id or name
             note - Update the team note for the user
Returns:     The new role or empty object if user already had that role
  • remove_member_role
Description: Remove role from a team member
Params:      id - Team id
             user - Team member user id or login name
             role - New role id or name
             note - Update the team note for the user
Returns:     The role that was removed or empty object if user did not have
             that role
  • unprioritized_items
Description: Get unprioritized bugs in teams responsibilites
Params:      id - team id
             include - Resposibilities to include
                       { type: [ IDs ], }
Returns:     { bugs: [list of bugs,... ] }
  • create
Description: Create new team
Params:      name                 - Name to call team
             process_id           - (optional) Change the uses, currently there is only scrum. Defaults to 1 (scrum).
             is_active            - (optional) Change active state. Defaults to 1, active.
             product              - (optional) Limit the Unprioritized items to unpooled new and assigned bugs in the specified product.
             create_backlog       - (optional) Create a new backlog for this team. Defaults to 1.
             responsibility_query - (optional) Supply custom query to limit Unprioritized items. Defaults to "?f1=bug_agile_pool.pool_id&v1=-1&o1=equals&resolution=---"
Returns:     Created team object
  • add_view_group
Description: Add a view group to a team
Params:      id - Team id
             group - Group id or name
Returns:     Nothing
  • remove_view_group
Description: Remove a view group from a team
Params:      id - Team id
             group - Group id or name
Returns:     Nothing
  • add_edit_group
Description: Add an edit group to a team
Params:      id - Team id
             group - Group id or name
Returns:     Nothing
  • remove_edit_group
Description: Remove an edit group from a team
Params:      id - Team id
             group - Group id or name
Returns:     Nothing
  • get
Description: Get a team
Params:      team - Team id or name
Returns:     Team id, name, members, backlogs
  • get_visible
Description: Get all teams a user can view
Params:      None
Returns:     An array of hashes with id and name
  • get_editable
Description: Get all teams the user can edit
Params:      None
Returns:     An array of hashes with id and name
  • edit_member_note
Description: Add new role to a team member
Params:      id - Team id
             user - Team member user id or login name
             role -> New role id or name
Returns:     The new role or empty object if user already had that role

5.7.144.4. SEE ALSO

Bugzilla::WebService


This documentation undoubtedly has bugs; if you find some, please file them here.