Closed jensstutte closed 1 year ago
The issue is that their people.mozilla.org profile lists the wrong email for Bugzilla.
https://github.com/mozilla/bugbot/issues/1699 will help prevent this kind of problems.
https://github.com/mozilla/bugbot/issues/1699 will help prevent this kind of problems.
So this is for people who don't have Bugzilla entry and not really for this one, is it?
As part of https://github.com/mozilla/bugbot/issues/1699 we could also detect people who have a Bugzilla email that isn't linked to any Bugzilla account.
It seems PMO has the account ID instead of email address, can the tool use the ID to fetch the current email address instead of getting the address directly from PMO (as the latter seemingly does not reflect the change in Bugzilla side)?
In the current way it'll break whenever anyone changes the address.
As part of mozilla/bugbot#1699 we could also detect people who have a Bugzilla email that isn't linked to any Bugzilla account.
I'm not sure how that would work since PMO has the account ID and technically should be always "linked" no matter how the email changes. You mean the email mismatch?
Hmm, I'd like to take a look but I don't know where this format is documented for PMO. https://github.com/mozilla/bugzilla-dashboard/blob/d3b50d02012fe9d9b5307efef4eed0fbfac0d4b1/src/static/fakeOrg.json#L11 Ideally it should not use bugzillaEmail
directly, like here
It seems PMO has the account ID instead of email address, can the tool use the ID to fetch the current email address instead of getting the address directly from PMO (as the latter seemingly does not reflect the change in Bugzilla side)?
In the current way it'll break whenever anyone changes the address.
It might be possible, but https://github.com/mozilla/bugbot/issues/1699 has a lower implementation cost for us and should solve the problem anyway. Another potential solution would be changing people.mozilla.org to refresh the Bugzilla email.
As part of mozilla/bugbot#1699 we could also detect people who have a Bugzilla email that isn't linked to any Bugzilla account.
I'm not sure how that would work since PMO has the account ID and technically should be always "linked" no matter how the email changes. You mean the email mismatch?
Yes, I meant the email mismatch.
Hmm, I'd like to take a look but I don't know where this format is documented for PMO.
https://github.com/mozilla/bugzilla-dashboard/blob/d3b50d02012fe9d9b5307efef4eed0fbfac0d4b1/src/static/fakeOrg.json#L11 Ideally it should not use
bugzillaEmail
directly, like here
If you're interested in fixing it, we'd be happy to review a patch. The dashboard is not performing any queries, you'd need to change https://github.com/mozilla/bugzilla-dashboard-backend as well.
@saschanaz I just discovered that the ID is not stable either, it can change following some account changes (e.g. merging accounts).
Oh wow, did not know merging exists, thanks.
Example: Jari Jalkanen, Olli Pettay, Harveer Singh, Kagami Rosylight.