NAME
WebService::Bugzilla::Component - Bugzilla Component object and service
VERSION
version 0.001
SYNOPSIS
my $comp = $bz->component->get('Firefox', 'General');
say $comp->name, ': ', $comp->description;
my $new = $bz->component->create(
product => 'Firefox',
name => 'Networking',
description => 'Network-related issues',
);
DESCRIPTION
Provides access to the Bugzilla Component API. Component objects represent product components and expose attributes about the component plus helpers to create, fetch, and update them.
ATTRIBUTES
All attributes are read-only and lazy.
default_assignee-
Default assignee email for new bugs in this component.
default_cc-
Arrayref of login names placed on CC by default.
default_qa_contact-
Default QA contact email.
description-
Human-readable description of the component.
flag_types-
Flag types applicable to bugs/attachments in this component.
is_active-
Boolean. Whether the component is active.
name-
Component name.
product_id-
Numeric ID of the owning product.
sort_key-
Numeric sort key used for ordering components.
triage_owner-
Login name of the triage owner, if set.
METHODS
create
my $comp = $bz->component->create(%params);
Create a new component. See POST /rest/component.
get
my $comp = $bz->component->get($product, $name);
Fetch a component by product name and component name. See GET /rest/component/{product}/{component}.
Returns a WebService::Bugzilla::Component, or undef if not found.
update
my $comp = $bz->component->update($product, $name, %params);
Update an existing component. See PUT /rest/component/{product}/{component}.
SEE ALSO
WebService::Bugzilla - main client
WebService::Bugzilla::Product - product objects
https://bmo.readthedocs.io/en/latest/api/core/v1/component.html - Bugzilla Component 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