BZ::Client::Classification - Client side representation of Classifications in Bugzilla
version 4.4004
This class provides methods for accessing Classification information in the Bugzilla server.
my $client = BZ::Client->new( url => $url, user => $user, password => $password ); my $classifications = BZ::Client::Classification->get( $client, \%params );
This section lists the class methods, which are available in this module.
$classifications = BZ::Client::Classification->get( $client, \%params );
Returns a hash containing information about a set of classifications.
Added in Bugzilla 4.4.
Marked experiemental as of Bugzilla 5.0.
In addition to the parameters below, this method also accepts the standard "include_fields" in BZ::Client::Bug and "exclude_fields" in BZ::Client::Bug arguments.
You could get classifications info by supplying their names and/or ids. So, this method accepts the following parameters:
An array of classification ids.
An array of classification names.
An array of hashes as the corresponding value. Each element of the array represents a classification that the user is authorized to see and has the following keys:
id (int) The id of the classification.
name (string) The name of the classification.
description (string) The description of the classificaion.
sort_key (int) The value which determines the order the classification is sorted.
An array of hashes. The array contains the products the user is authorized to access within the classification. Each hash has the following keys:
name (string) The name of the product.
id (int) The id of the product.
description (string) The description of the product.
Classification is not enabled on this installation.
See BZ::Client::Exception
BZ::Client, BZ::Client::API, Bugzilla API
Dean Hamstead <dean@bytefoundry.com.au>
Jochen Wiedmann <jochen.wiedmann@gmail.com>
This software is copyright (c) 2021 by Dean Hamstad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install BZ::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BZ::Client
CPAN shell
perl -MCPAN -e shell install BZ::Client
For more information on module installation, please visit the detailed CPAN module installation guide.