New user-lookup API for Bitbucket Cloud

As you may know, Atlassian products represent users via an anonymous ID which is referenced in API calls in any context that has a user impact (e.g Pull Request reviewers, etc).

Although this solution is excellent from a privacy and compliance perspective, it can create challenges when needing to reconcile user information from external systems (like an identity provider) which usually use something like an email address as their unique identifier, and will not have any reference to the Atlassian generated user ID.

This creates a disconnect within automations and integrations which makes it often difficult to execute actions that reference specific users, unless your automation/integration already knows the Atlassian user ID required.

To address this, we recently made changes to the "List users in a workspace" API in Bitbucket Cloud, allowing you to filter the results from that API call down to specific users, based on an email address passed to the request as a query parameter.

This means you can now easily find the associated Atlassian user ID for a given email address, significantly reducing the friction involved in building automations/integrations that need to talk to other systems that use email addresses as their canonical ID for a user.

3 comments

Comment

Log in or Sign up to comment
Markus Sutter _Mibex Software_ July 21, 2024

Awesome, thanks @Edmund Munday .

This is great news for us.

Like # people like this
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 22, 2024

For the ones of you that are following the Bitbucket changelog, here is the announcement: https://developer.atlassian.com/changelog/#CHANGE-1856

Like Steffen Opel _Utoolity_ likes this
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 23, 2024

Perfect. This will help administrators!

Like Caterina Curti likes this
TAGS
AUG Leaders

Atlassian Community Events