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

Ravikumar Patel ravikumarpatel2610 at gmail.com
Wed Jan 14 18:55:17 UTC 2015


@Bryan

Here is the list of fields I have access to:

alias
assigned_to
attach_data.thedata
attachments.description
attachments.filename
attachments.isobsolete
attachments.ispatch
attachments.isprivate
attachments.mimetype
attachments.submitter
blocked
bug_file_loc
bug_group
bug_id
bug_severity
bug_status
cc
cclist_accessible
cf_build_number
cf_device_os
cf_device_os_touchsense
cf_fixed_in_version
cf_hardware_parts
cf_root_cause
cf_version_string
classification
commenter
component
content
creation_ts
days_elapsed
deadline
delta_ts
dependson
estimated_time
everconfirmed
flagtypes.name
keywords
longdesc
longdescs.count
longdescs.isprivate
op_sys
owner_idle_time
percentage_complete
priority
product
qa_contact
remaining_time
rep_platform
reporter
reporter_accessible
requestees.login_name
resolution
see_also
setters.login_name
short_desc
status_whiteboard
tag
target_milestone
version
work_time


As you can see I don't have access to comments and attached files. After
going through the bugzilla CLI code I am still not sure how I can access
those attributes.

On Wed, Jan 14, 2015 at 12:12 PM, Bryan Kearney <bkearney at redhat.com> wrote:

> On 01/14/2015 09:50 AM, Cole Robinson wrote:
>
>> 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
>>
>
>
> try executing
>
> print bz.getbugfields()
>
> that will tell you what you have access to.
> -- bk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/python-bugzilla/attachments/20150114/cbc45711/attachment.html>


More information about the python-bugzilla mailing list