On 01/09/2015 04:55 PM, Ravikumar Patel wrote:
Thanks for the response. It was really helpful.
I have another question. Is it possible to query for all the bug IDs for a
given Bugzilla account? So far I have the following as the code:
bz =
bugzilla.Bugzilla(url='https://bugzilla.myname.com/xmlrpc.cgi')
try:
bz.login('email(a)email.com <mailto:email@email.com>', 'batman');
print'Authorization cookie received.'
except bugzilla.BugzillaError:
print(str(sys.exc_info()[1]))
sys.exit(1)
# list = bz.query_all_bug_ids ?
Please keep the mailing list in CC
From the command line you can do
./bugzilla query --assigned_to foo(a)example.com
Pass the --debug flag to look at what API calls are being generated. Basically
look at bz.query and bz.build_query
- Cole