Checking milestone validity to detaint it

Max Kanat-Alexander mkanat at
Sat Sep 9 21:40:03 UTC 2006

On Fri, 2006-09-08 at 06:19 -0700, Barns wrote:
> I would like to know the Perl code to check a milestone value is existing
> (known variables: product_id and milestone value).

	Once you have a Bugzilla::Product object, $product->milestones should
return an arrayref of valid milestones for that product.

	If this is for a local customization, any further questions would be
best directed to the support list:

	If this is for code that you plan to contribute to Bugzilla, you can
come into IRC and ask us about it. (Instructions also above at that

Competent, Friendly Bugzilla Services. And Everything Else, too.

More information about the developers mailing list