[python-bugzilla] How to get all bug IDs from bugzilla via python script

Ravikumar Patel ravikumarpatel2610 at gmail.com
Tue Jan 13 17:59:10 UTC 2015


Hello,

I am trying to get the bug ID of all bugs from my Bugzilla account. Any
suggestions as to how I am able to do so? Is it possible that to query for
all projects and then access the bug IDs from each project? If so, then how?

So far my code looks like this:

bz = bugzilla.Bugzilla(url='https://bugzilla.mycompany.com/xmlrpc.cgi')try:
   bz.login('name at email.com', 'password');
   print'Authorization cookie received.'except bugzilla.BugzillaError:
   print(str(sys.exc_info()[1]))
   sys.exit(1)

Here is the link to the stackoverflow question page:
http://stackoverflow.com/questions/27869663/how-do-i-query-bugzilla-to-get-all-the-bug-ids-using-python-and-xml-rpc

I really need help on this. Any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/python-bugzilla/attachments/20150113/a5c90242/attachment.html>


More information about the python-bugzilla mailing list