forked from digitaltom/BugzillaClient
-
Notifications
You must be signed in to change notification settings - Fork 0
dirkmueller/BugzillaClient
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
BugzillaClient(3) User Contributed Perl Documentation BugzillaClient(3) NAME SUSE::BugzillaClient - A Client Library for accessing a bugzilla server. DESCRIPTION SUSE::BugzillaClient is a client Library for accessing a bugzilla server. Note: The server has to support XML output (&ctype=xml). It can query bugs by ID or the URL of a search. It returns a hash for each bug that contains the bugs properties. SYNOPSIS use SUSE::BugzillaClient; #login to bugzilla my $jar = bzConnect( 'username','pw' ); #call query methods with the $jar object #do something meaningful with the result, see BugzillaClientTest.pl METHODS bzConnect( $user, $pass ) Login to standard bugzilla and get the cookie $jar getBug( $jar, $bugid ) Get a bug by id, returns a bug hash with the following content: ( "bug_id", "creation_ts", "short_desc", "delta_ts", "product", "component", "version", "rep_platform", "op_sys", "bug_status", "priority", "bug_severity", "target_milestone", "resolution" ) getBugs( $jar, $url ) Get a list of bug hashes by providing a search url (like https://bugzilla.novell.com/buglist.cgi?query_format=advanced&product=openSUSE+10.3&bug_status=NEEDINFO) getBugsCSV( $jar, $url ) Get a list of bug hashes by providing a CSV search url (like https://bugzilla.novell.com/buglist.cgi?query_format=advanced&product=openSUSE+10.3&bug_status=NEEDINFO&ctype=csv, get this URL from the "CSV" link on the bottom of the search result page) Faster than using getBugs() because not all XML output has to be parsed, but only these fields will be available in the bug hashes: bug_id, changeddate, bug_severity, priority, assigned_to, reporter, bug_status, product, short_short_desc (!) perl v5.14.2 2012-02-27 BugzillaClient(3)
About
A perl library for bugzilla access
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Perl 100.0%