Add REST API feature to convert email address to user name
Given an email address firstname.lastname@example.org, I'd like to get the Bitbucket user name associated with that account.
Specifically, we use Bitbucket teams at our organization, and would like a way to automatically remove users from out Bitbucket team when they leave the company. We'd like to query for the Bitbucket username for "email@example.com" and remove that Bitbucket user from our Bitbucket team.
Apropos support ticket JST-60687 there isn't really another good way to synchronize Bitbucket teams with employee accounts, except to track it all manually.