5.7.159. Bugzilla::Extension::DependentProducts::WebService

5.7.159.1. NAME

Bugzilla::Extension::DependentProducts::WebService - The API for managing a products dependent products and contacts

5.7.159.2. DESCRIPTION

This API allows you to change the qe, dev and product manager contacts, as well as add and remove products that depend on another product.

5.7.159.3. METHODS

  • Name
DependentProducts.get
  • Description
Returns a list of products that the given product depends on. Also returns the qe, pm and dev manager contacts for the given product.
  • Params
  • ids
An array of product ids.
  • names
An array of product names.
  • Returns

An array of hashes is returned. Each hash represents one product that was requested.

The arguments to each hash are explained below.

  • name
The name of the product you requested
  • id
The ID of the product you requested.
  • products
An array of product names. These products are dependencies of the requested product.
  • dm_contacts
en array of email addresses. Development Manager contact. You must be in the ‘editcomponents’ group to view this.
  • pm_contacts
An array of email addresses. Product Manager contacts. You must be in the ‘editcomponents’ group to view this.
  • qe_contacts
An array of email addresses. Quality Engineering Manager contacts. You must be in the ‘editcomponents’ group to view this.
  • Name
DependentProducts.update
  • Description
Allows the dependent product information to be updated
  • Params

Update takes a hash with a single key named ‘products’. this key contains an array of hashes.

The contents of each hash is described below.

  • id
The ID of the product you are updating. One of id or name must be supplied
  • name
The name of the product you are updating. One of id or name must be supplied
  • pm_contacts

Product Manager email addresses.

A hash containing one or more of the keys ‘add’ ‘remove’ ‘set’. The contents of each are described below.

  • dm_contacts

Development Manager email addresses.

A hash containing one or more of the keys ‘add’ ‘remove’ ‘set’. The contents of each are described below.

  • qe_contacts

Quality Engineering Manager email addresses.

A hash containing one or more of the keys ‘add’ ‘remove’ ‘set’. The contents of each are described below.

  • add
An array of email addresses. These addresses will be appended to the existing list of contacts
  • remove
An array of email addresses. These addresses will be removed from the existing list of contacts
  • set
An array of email addresses. These addresses will replace the exsting list of contacts
  • depends_on

The products that depend on this product.

A hash containing one or more of the keys ‘add’ ‘remove’ ‘set’. The keys are described below

  • add
A list of product ids or names that will be appended to the existing list of dependencies.
  • remove
A list of product ids or names that will be removed from the existing list of dependencies.
  • set
A list of product ids or names that will replace the existing list of dependencies.
  • Returns

Returns an array of hashes describing the changes made to each product.

The contents of each hash is described below

  • id
The ID of the product that was updated.
  • name
The name of the product that was updated.
  • dm_contacts
A hash containing changes to the development manager contacts. The format is described below.
  • pm_contacts
A hash containing changes to the product manager contacts. The format is described below.
  • qe_contacts

A hash containing changes to the QE manager contacts. The format is described below.

  • added
A list of email addresses that were added to the existing list of contacts.
  • removed
A list of email addresses that was removed from the existing list of contacts.

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