[python-bugzilla] No comments field for bugs retrieved from bugzilla 4.4.9

Cole Robinson crobinso at redhat.com
Wed Jul 8 17:04:07 UTC 2015


On 07/02/2015 12:12 PM, Jamie Dugan wrote:
> Is this a config issue or does the module not support comments from non-redhat
> bugzillas?  Thanks in advance if anyone can help.  I’ve searched around for an
> answer – apologies if it’s obvious and I have HIA syndrome J.   This is an
> awesome module by the way - thanks to the dudes who support it.
> 
>  

Being able to grab 'comments' with a Bug.get or Bug.search XMLRPC call is a
bugzilla.redhat.com extension AFAICT. However all bugzilla versions support a
Bug.comments API that can be used to fetch the comment info, but you'll have
to write some code to get it.

- Cole

> 
> Redhad bugzilla returns comments and description fields:
> 
> bugzilla query --bugzillla https://bugzilla.redhat.com/xmlrpc.cgi --bug_id
> 1234 –raw
> 
> ATTRIBUTE[_bug_fields]: ['sub_component', 'cf_story_points', 'creator', 'cc',
> 'depends_on', 'cf_regression_status', 'creation_time', 'docs_contact',
> 'is_open', 'cf_mount_type', 'keywords', 'target_release', 'external_bugs',
> 'id', 'description', 'classification', 'is_confirmed',
> 'is_creator_accessible', 'comments', 'priority', 'platform', 'version',
> 'fixed_in', 'severity', 'cf_release_notes', 'cf_environment', 'status',
> 'product', 'cf_verified_branch', 'blocks', 'qa_contact', 'tags', 'see_also',
> 'summary', 'component', 'sub_components', 'cf_category', 'cf_doc_type',
> 'groups', 'cf_documentation_action', 'target_milestone', 'is_cc_accessible',
> 'cf_type', 'versions', 'url', 'whiteboard', 'cf_crm', 'cf_last_closed',
> 'alias', 'op_sys', 'flags', 'components', 'assigned_to', 'resolution',
> 'last_change_time']
> 
>  
> 
> Bugzilla 4.4 does not:
> 
> bugzilla --bugzilla
> https://landfill.bugzilla.org/bugzilla-4.4-branch/xmlrpc.cgi --nosslverify
> query --bug_id 15785 –raw
> 
> Bugzilla 15785:
> 
> ATTRIBUTE[_bug_fields]: ['cf_drop_down', 'cf_large_text', 'creator', 'cc',
> 'depends_on', 'cf_free_text', 'creation_time', 'actual_time', 'is_open',
> 'keywords', 'summary', 'id', 'classification', 'is_confirmed', 'platform',
> 'priority', 'estimated_time', 'version', 'see_also', 'status', 'product',
> 'blocks', 'qa_contact', 'cf_mulitple_select', 'component', 'remaining_time',
> 'groups', 'is_creator_accessible', 'target_milestone', 'is_cc_accessible',
> 'severity', 'url', 'whiteboard', 'op_sys', 'flags', 'assigned_to',
> 'update_token', 'resolution', 'last_change_time']
> 
>  
> 
>  
> 
> 
> 
> _______________________________________________
> python-bugzilla mailing list
> python-bugzilla at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/python-bugzilla
> 



More information about the python-bugzilla mailing list