Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to remote control Bugzilla (Python preferred)

I'd like to control Bugzilla 2.17.7 from a script to : change comments, key set, create bugz, etc

My tries : - Bugzilla tools do not document any example : so I ignore how to do it - LegNeato : always request remoteobjects for setup - Pyzilla : from the provided example I have an exception

So: what is the best way to remote control bugzilla with Python ?

PS :Python is preferred because I hardly read Perl but other languages could be ok

like image 377
dlewin Avatar asked Nov 05 '22 06:11

dlewin


1 Answers

The bztools module allows you to access the Bugzilla API from Python. Since you are using an old version of Bugzilla, I think you need to patch your installation. From the Bugzilla API page:

If you are on 3.4 or below, you need a patch and a template. These are shipped in the BzAPI distribution, in the patches directory, from version 0.8 onwards. See the INSTALL file for details.

like image 165
jterrace Avatar answered Nov 07 '22 22:11

jterrace