Would changing the email of a user lose access to a workspace?
Asked by Chris Rouxel:

Hi.

I have taken on multiple workspaces on behalf of my company and as part of the process we have switched the email of the outgoing dev to developer@ this includes linking the new address to their Atlassian ID.  

In doing so I think we have lost access to a few key workspaces that I need to get access to. The URL's work and we can still use GIT via CLI to push, but I have no access to the workspace settings from any of the accounts we have.  

As we don't have a paid plan, we cannot get one on one support for this issue.  

Please can someone assist?


Answers:
author: Sam Thornton
body: Hey Chris,

I'd spoken to Atlassian regarding something similar, not Bitbucket related, but with accounts, and I was advised that when you view a member of staff in the Cloud admin panel, you should see an ID at the end of the URL - This is their Atlassian ID.

Changing the email address doesn't change this ID. I'd changed an email address this week, and the work/licenses that this user had wasn't lost, as the users work is tied to that ID, not to the email address.

I hope this helps at least a little, apologies that it doesn't directly answer your Bitbucket question!

Kind Regards,  
Sam

comments: author: Chris Rouxel
body: Hi Sam,

Thanks for the insight. any feedback is useful.

Is there away for finding out who the owner of the repo is. I was given access to one of them when I started and accepted the invite and everything is fine.

Very recently, we haven't lost access, as we can still use the CLI, but the web interface simply says no repos found.

I have access to all the email accounts of the former devs whom it might be linked to but alas, nothing is forthcoming.

Best,

Chris,


author: Patrik S
body: Hello Chris,

Just adding to [@Sam Thornton](/t5/user/viewprofilepage/user-id/2209814) response, an email change will have no effect on the permission of a user in Bitbucket.

What might be happening is that you are looking at the wrong workspace. When navigating to bitbucket.org you will land on the last shared workspace that the account has accessed, and this might not be the workspace you are looking for.

To find all the workspace an account has access to you can :

* Navigate to bitbucket.org and log in with the account in question
* Click on the personal avatar in the top right corner
* Select the **All workspaces** option
* You'll see a list of workspaces this account is a member of

Click on the workspace you want, and select the Repositories option in the top navigation bar to see all the repos contained in that workspace.

Also, as you mentioned you still have access to the workspace from the CLI, you can also access a workspace using the direct link :

```
https://bitbucket.org/<workspaceId>
```

where the workspace ID you can get locally using the git command

```
git remote -v
```

If the account you're logged in while trying to access the direct workspace URL is not a member of the workspace, you'll be shown a Resource not found error. If that is the case, you can try to login with other accounts you own and try accessing the URL again.

Hope that helps! Let us know in case you have any questions.

Thank you, [@Chris Rouxel](/t5/user/viewprofilepage/user-id/5375378) !

Patrik S


Tags: unknown-hosting-type