NAME

WebService::Bugzilla::Classification - Bugzilla Classification object and service

VERSION

version 0.001

SYNOPSIS

my $class = $bz->classification->get('Client Software');
say $class->name, ': ', $class->description;

for my $p (@{ $class->products }) {
    say '  ', $p->{name};
}

DESCRIPTION

Provides access to the Bugzilla Classification API. Classification objects represent the top-level grouping of products.

ATTRIBUTES

All attributes are read-only.

description

Human-readable description of the classification.

name

Classification name.

products

Arrayref of product data hashes belonging to this classification.

sort_key

Numeric sort key for ordering classifications.

METHODS

get

my $class = $bz->classification->get($id_or_name);

Fetch a classification by numeric ID or name. See GET /rest/classification/{id_or_name}.

Returns a WebService::Bugzilla::Classification, or undef if not found.

SEE ALSO

WebService::Bugzilla - main client

WebService::Bugzilla::Product - product objects

https://bmo.readthedocs.io/en/latest/api/core/v1/classification.html - Bugzilla Classification REST API

AUTHOR

Dean Hamstead <dean@fragfest.com.au>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2026 by Dean Hamstead.

This is free software, licensed under:

The MIT (X11) License