The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

API 2.0: Could not retrieve Bitbucket username by email address anymore?

Tran Tien dung
Contributor
April 13, 2020

I always using Users API endpoint as below to get the Bitbucket public user information such as display name, username...

https://api.bitbucket.org/2.0/users/dung.trantien@abc.com

But I figured out that this endpoint is no longer existing, so is there any alternative way to retrieve at least Bitbucket username from email address?

Any help is greatly appreciated

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 13, 2020

Hello @Tran Tien dung ,

The endpoint still exists but it indeed doesn't support email resolution anymore – due to the GDPR regulations. You can use Atlassian ID or user UUID (in curly braces) instead.

Hope this helps.

Cheers,
Daniil

Tran Tien dung
Contributor
April 13, 2020

Thanks @Daniil Penkin 

Well, if I know username, I don't need to use this endpoint. 

My bottom line that when someone in my organization leave, I can lookup their bitbucket usersname by email address, then delete this user in "Users on plan".

Could you consider to open this feature?

TAGS
AUG Leaders

Atlassian Community Events