Bugzilla::Milestone - Bugzilla product milestone class.
use Bugzilla::Milestone; my $milestone = new Bugzilla::Milestone( { product => $product, name => 'milestone_value' }); my $product_id = $milestone->product_id; my $value = $milestone->value; my $milestone = $hash_ref->{'milestone_value'};
Milestone.pm represents a Product Milestone object.
new($product_id, $value)
Description: The constructor is used to load an existing milestone by passing a product id and a milestone value. Params: $product_id - Integer with a Bugzilla product id. $value - String with a milestone value. Returns: A Bugzilla::Milestone object.
bug_count()
Description: Returns the total of bugs that belong to the milestone. Params: none. Returns: Integer with the number of bugs.