21 Apr

Bugzilla-C3PO – automated Bugzilla PHP filer

Bugzilla-C3PO

A few days ago I needed to file 70+ bugs. All for the same thing for each locale we support on www.mozilla.com. I then decided to make use of BZAPI(Bugzilla Web Service API), and have created a tiny PHP script to do the job for me. That’s how bugzilla-c3po was born. It worked pretty well even the first time I tried it on on http://landfill.bugzilla.org, so I could expect only better performance on bugzilla.mozilla.org.

I will definitely use it in the future, so I created a web interface for it, so the user could choose component, product, version, bugs to block, whiteboard status and such.

Bugzilla-C3PO & Bugzilla ticketing system

On the road to make this work everything went pretty well. Bugzilla as a more-than-a-ticketing-system™ provides you with a publicly available config file, which is in JavaScript. And that very file contains all the component>product options.

If you think my code is bad, or that you can do it better, feel free to fork or send me the patch. Code is freely available for forking at Github.com.

Leave a Reply

Your email address will not be published. Required fields are marked *