Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,375
Community Members
 
Community Events
176
Community Groups

Given a user account ID is there a way to get the user username ? ( and vice versa)

Edited

I thought this endpoint  https://api.bitbucket.org/2.0/users/<account_id> would return
the username. However the username is not returned. I see there is a nickname returned, however that is different to the username as stated in the documentation.

Also, is there a way to get the account id given the username ?

 

1 answer

1 accepted

1 vote
Answer accepted
Syahrul Atlassian Team Mar 24, 2022

Hi @Mihira.Wanninayake 

G'Day!

We no longer expose user usernames in API calls as per our changes back in April 2019 to comply with GDPR and replace it with the Atlassian account name.

Please check out the announcement here. 

You can use List users in a workspace endpoint that will return a list of users currently in your workplace and their UUID because we don't have an endpoint to return user UUID based on the username.

Let me know if you have any additional questions.

Cheers,
Syahrul

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events