Tools for querying bug info from Bugzilla.



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.