Disable Public Repository Setting At The Project Level

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

This article goes over setting repository privacy at the project level to prevent a repository from being set to public.

Solution

Workspace and project admins can set all existing projects to private so that users cannot change the repository privacy (public/private).

  1. Navigate to your workspace (https://bitbucket.org/yourWorkspaceID/workspace/overview/)

  2. Click Projects

  3. Choose a project and Navigate to the Project Settings.

  4. Enable the option Private project* and click Save Project.

By making the project private, the repository privacy for new and existing repositories cannot be changed at the repository level. This can help safeguard a repository from accidentally being set to public.

*Please note that all repositories in the project must be independently set to private before the project can be set to private. 

Updated on February 25, 2025

Still need help?

The Atlassian Community is here for you.