Mon 16 Jun 2014
I have created a library for interacting with Bugzilla using the native REST API. Bugsy allows you to get bugs from Bugzilla, change what you need to and then post it back to Bugzilla. I have created documentation to get you started.
For example to get a bug you would do
import bugsy bugzilla = bugsy.Bugsy() bug = bugzilla.get(123456)
and then to put it back, or if there is no bug ID (like if you were creating it) then you would do
import bugsy bug = bugsy.Bug() bug.summary = "I really realy love cheese" bug.add_comment("and I really want sausages with it!") bugzilla = bugsy.Bugsy("username", "password") bugzilla.put(bug) bug.id #returns the bug id from Bugzilla
Searching Bugzilla is not currently supported but will definitely be there for the next version.
Please raise issues on GitHub