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

Cole Robinson crobinso at redhat.com
Wed Jan 14 14:50:35 UTC 2015


On 01/14/2015 09:48 AM, Ravikumar Patel wrote:
> I'm sorry if I'm bothering you with too many questions but I'm a real beginner
> with both python and the bugzilla-python package. The APIs you mentioned in
> the link above are the comments and attachment section? 
> 

Yes

> On Tue, Jan 13, 2015 at 9:13 PM, Ravikumar Patel <ravikumarpatel2610 at gmail.com
> <mailto:ravikumarpatel2610 at gmail.com>> wrote:
> 
>     Every time I use the following commands, I get an error saying dupe_of is
>     not defined:
> 
>     bug = bz.getbug(123456)
>     print bug.dupe_of
>     print bug.estimate_time
>     print bug.actual_time
> 
>     Any suggestions as to why?
> 

I don't know why those values aren't available. Are you using
bugzilla.redhat.com or another bugzilla instance? Maybe bugzilla is too old...

- Cole


More information about the python-bugzilla mailing list