Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

Access repository

Edited

I have a repository that I can no longer access as I do not remember which email address was used to create it, and up until now Sourcetree has been able to access using my old username (<username_removed>).

Is there a way to recover?  I still have the password, just don't know what I should use to log in with.

1 answer

1 accepted

1 vote
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 15, 2023

Hi @Barney Garrood,

If you have an app password for this account that has at least Account: Read permissions, you can use the following API endpoint to get email address associated with this user:

Example:

curl -u Bitbucket_Username:App_Password -X GET -H "Content-Type: application/json" https://api.bitbucket.org/2.0/user/emails

If there are email aliases in your account those will be returned as well, but the field is_primary will indicate the primary email of your account that you need to log in with. Please note that the API call requires an app password for authentication and not your account's password, as we have deprecated the use of account passwords for API.

If you don't have an app password for that account, then I would suggest trying to log in to https://bitbucket.org/ from browser with any of the email addresses you own, and see if any of them logs you into the correct account. Please note that if you get asked to give a username and create a new account after logging in with a certain email, this means that there is no account with that email as primary, so you can skip that email from the process.

Just a heads up, I removed the username from your post to comply with our privacy policy.

Kind regards,
Theodora

Excellent.  I have recovered access.  Thank you.

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 15, 2023

That's good to hear and you are very welcome.

Please feel free to reach out if you ever need anything else!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events