lib/bugzilla.pm

SYNOPSIS

Tools for querying bug info from Bugzilla.

bugzilla_buginfo

bugzilla_buginfo($bug_id);

Query bug status for given bug ID. BUGZILLA_URL job setting is required, otherwise this function will simply return undef. The URL must contain the string @BUGID@ which will be replace by the bug ID.

Returns a hash with bug status fields, or undef on error.

Note that Bugzilla may return permission error in which case the hash will contain only two entries: bug_id and error. It is up to you to handle this possibility.