NAME
WebService::Bugzilla::Field::Value - A single legal value for a Bugzilla field
VERSION
version 0.001
SYNOPSIS
my $field = $bz->field->get_field('bug_status');
for my $value (@{ $field->values }) {
say 'Value: ', $value->name;
say ' Active: ', $value->is_active ? 'yes' : 'no';
say ' Sort key: ', $value->sort_key;
if ($value->can_change_to) {
say ' Can change to: ', join(', ', @{ $value->can_change_to });
}
}
DESCRIPTION
Represents a single valid value for an enumerated Bugzilla field (status, priority, resolution, custom selects, etc.).
Field value objects are accessed via the values attribute of a WebService::Bugzilla::Field object. See GET /rest/field/bug/{field}.
ATTRIBUTES
All attributes are read-only.
can_change_to-
Arrayref of value names that bugs can transition to from this value. Only applicable for workflow fields like status.
description-
Human-readable description of what this value means.
is_active-
Boolean. Whether this value is active (can be used for new bugs or transitions).
is_open-
Boolean. For status values, whether bugs with this status are considered open (not yet resolved).
name-
Internal value name (e.g.
OPEN,ASSIGNED,RESOLVED). sort_key-
Numeric key used to order values within the field.
visibility_values-
Arrayref of values for another field that control when this value is visible. Used for dependent selects.
SEE ALSO
WebService::Bugzilla::Field - field definition objects
WebService::Bugzilla - main client
https://bmo.readthedocs.io/en/latest/api/core/v1/field.html - Bugzilla Field 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