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

Can't set up username on the system

Iris Ayelin February 15, 2023

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!

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2023

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

Iris Ayelin February 19, 2023

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. 

Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 20, 2023

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? 

Iris Ayelin February 21, 2023

Hey Patrik,

Unfortunately, he didn't get any errors.

It sends him back to the login page.  

Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 21, 2023

Hey @Iris Ayelin ,

Would it be possible for you to share some screenshots of the pages the user is seeing? 

Iris Ayelin February 23, 2023

Hi,

This is the page the user is seeing:

image.png

Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 23, 2023

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 ? 

Iris Ayelin February 26, 2023

Hi Patrik,

Can you check my last comment? I attached a picture of the page the user is seeing

Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 28, 2023

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events