[python-bugzilla] email from author of a comment

Pierre-Yves Chibon pingou at pingoured.fr
Wed Apr 24 20:04:50 UTC 2013


On Wed, 2013-04-24 at 21:59 +0200, Jan Pokorný wrote:
> On 24/04/13 21:48 +0200, Pierre-Yves Chibon wrote:
> > Some release ago I was able to retrieve the email address of the person
> > that made a comment on a bug.
> > I was using this feature in fedora-active-user [1] to retrieve the dates
> > of the last comments of someone on the bugzilla.
> > 
> > For at least two releases I haven't been able to do this. I've looked at
> > the options but all I could find is the author's name, no email.
> > The question is then, can the email be accessed and I missed it, or has
> > it been removed?
> 
> Bear with me if I am completely off, but my guess is that, if not
> logged in, you simply don't get more information from bugzilla than
> you can from the web interface under same circumstance (and if there
> used to be a difference such that you could obtain emails as anonymous
> user through BZ API, while not through web interface, it got
> [fortunately] fixed).

I agree with you and think that's what happened.
I think I found my way around, I can retrieve the information attached
to an email (which is specified by the user), this includes an
identifier which I can find back for each comments.
So I can compare the identifier of the account with the identifier of
the person that commented.

I'm testing it now but it seems to work fine.

Pierre


More information about the python-bugzilla mailing list