Bitbucket Cloud workspace disappeared or workspace shared access revoked after deleting a Bitbucket user account
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
Users may encounter cases where deleting a Bitbucket user account results in the disappearance of a workspace or the revocation of users' access to a workspace.
This occurs when the workspace has been associated with the deleted user, known as a personal workspace. The deletion of that user will lead to the removal of the workspace.
Solution
How to Confirm if the Workspace is Personal?
Any invited admin user within the workspace can navigate to the gear icon -> workspace settings and check if the "APPS AND FEATURES" option is missing. This confirms that it is a personal workspace.
How to Restore a Deactivated/Deleted Account?
Once the user's Atlassian account is permanently deleted, it cannot be restored. Before permanent deletion, there is a 14-day grace period during which the account appears as temporarily deactivated. Within this grace period, one can cancel the deletion and restore the account using the following steps:
Restoring an Organization managed Deleted/Deactivated Account:
As an administrator of the organization from the user's claimed domain, re-enable the user's deactivated account through the organization's administration:
Visit https://admin.atlassian.com and select your organization.
Within the organization, select Directory and Managed accounts.
Search for and select the user with the deactivated account.
In the user's profile, click the "Reactivate Account" button.
Note: Deactivated accounts can be reactivated at any time and no grace period is applicable here.
More details on restoring an Organization managed deactivated account can be found in our knowledge article concerning this topic.
In the case that a user account is deleted:
Search for and select the user with the deleted account.
In the user's profile, click the "Cancel Deletion" button.
2. Restoring an Unmanaged Deleted Account:
To reactivate the account, follow these steps:
a) Visit id.atlassian.com
b) Log in using the email ID associated with the deactivated account.
c) Enter the password.
d) In the next prompt, select "Cancel Deletion."
More details on restoring a deactivated unmanaged account can be found in our knowledge article concerning this topic.
Once the user account is reactivated, the workspace should be accessible to all users without issues. However, to prevent these occurrences in the future, it is recommended to create a new shared workspace and replace it with a personal workspace associated with any individual user. Transfer ownership of existing repositories from the current personal user-associated workspace to the new shared workspace.
Refer to the document on creating a new workspace and the guide on transferring ownership of repositories between Bitbucket cloud workspaces for step-by-step instructions.
Was this helpful?