Hi,
I have two people in my organization that have issues with the username on Bitbucket.
The first one changed her username from 'Personal settings' and now she doesn't has any permissions to the repositories she had permissions before.
She tried to change it back to the old username, but she got an error saying the username already exist.
How I can return her username to the old one?
The second never had a bitbucket account before and when I invited him to our workspace he received the invitation but when he clicked on the link to start the process it asked him to create a new account.
when he tried to continue and write his username he got an error that said 'This username already exists'
He tried to use another username but it didn't work.
Can you help with this?
Thank you!
Hello @Iris Ayelin ,
Welcome to Atlassian Community!
Changing the username of an account does not have any effect on the permissions of that account. After changing the username, the user should have the same access as before.
What might have happened is that the user has local repository clones prior to the username change, which have still the old username in the remote-url. If this is the case, the user will need to run the following command in the terminal inside the local cloned repository to update the remote-url and reflect the new username :
git remote set-url origin https://<NEW_USERNAME>@bitbucket.org/<WORKSPACE>/<REPOSITORY>.git
As for the message "This username already exists", this error message is being shown because all the usernames in Bitbucket cloud must be unique, considering all the other existing users in the platform, including users from different workspaces than yours. Once the user changed their username to a different one, the old username became "available", and some other user of the platform might have created an account using the old username.
Since there's already a Bitbucket user that is using that username, it's expected the user to receive that message. So I'm afraid the user will not be able to use that username because it's already taken. You can try testing different usernames if you want, to see if any others that you would like to change are currently available. Usernames can contain only ASCII letters, numbers, dashes and underscores.
Hope that helps! Let me know in case you have any questions.
Thank you, @Iris Ayelin !
Patrik S
Hi,
I appreciate your support!
For the first account, it helped to update the repository. Thanks!
For the second, we tested different usernames but when we clicked on continue it sent us to the first page to set up the username again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Iris Ayelin ,
Happy to know that it worked for the first account :)
For the account you are still facing issues, is the UI returning any error? Would it be possible for you to share a screenshot of the pages you are seeing?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Patrik,
Unfortunately, he didn't get any errors.
It sends him back to the login page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Iris Ayelin ,
Would it be possible for you to share some screenshots of the pages the user is seeing?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Iris,
I'm afraid that the image didn't make it through.
It seems like it was attached to an e-mail reply. In this case, could you please attach the image directly to this community post instead of via e-mail ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Patrik,
Can you check my last comment? I attached a picture of the page the user is seeing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Iris,
Unfortunately, the image is not loading. I went ahead and created an internal support ticket using the e-mail of your community account, so you can share more details about the error user is seeing. You should be receiving an e-mail with the ticket link soon. In case you don't receive it, let me know so I can share the link here.
Thank you, Iris!
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.