[python-bugzilla] Any way to access reporter email/username?

Cole Robinson crobinso at redhat.com
Fri Jun 26 17:34:57 UTC 2015


On 06/26/2015 09:19 AM, Don Zickus wrote:
> On Thu, Jun 25, 2015 at 03:05:35PM -0400, Brad Parham wrote:
>> Hi all,
>>
>> My bugzilla installation (not sure if this is default or not) has a field
>> called "reporter" which is the email/username of the reporting user. I
>> can't seem to figure out a way to view the reporter username of a bug. I
>> can see the reporter_id just fine, but then don't see any way to get the
>> username from that.
>>
>> If someone knows a way to do this, i'd love to hear it, otherwise does
>> anyone have any recommendations for coding this up myself and uploading a
>> patch? (have you moved to git yet?)
> 
> I have had success with the 'creator' field.  That might have what you are
> looking for.
> 
> Usually a 'bugzilla --debug query ...' helps me figure out the mapping of
> one field to the data given through the api.
> 

Could also be that you aren't logged into bugzilla... when you aren't logged
in for bugzilla.redhat.com at least, the reporter/creator field is the user's
name like 'Cole Robinson', but when logged in the field will be
crobinso at redhat.com

- Cole



More information about the python-bugzilla mailing list