m.ajmal, 5f24407fb8eb,
I'm a little puzzled by the question. Yes, it's possible. It's been possible since Stash 2.8, released September 2013. The release notes for 2.8 include details on how to do it. In short:
- Repository admins can visit a repository's settings page, where a "Move repository" button will be shown
- Clicking the "Move repository" button will display a list of projects the user has project admin for
- If the user does not have project admin permissions, they will not be able to move the repository
- The user can select any project they have admin permissions for to move the repository there
- The system will create an "alias" in the database that will allow the repository's old hosting URLs to still work, until/unless another repository is created that would use those URLs
One thing the UI still does not support is moving repositories from a project or a personal project (i.e. a user's account) to a personal project. The REST API does support this operation, if the requesting user has repository admin rights for the repository and project admin rights for the target personal project.
Best regards,
Bryan Turner
Atlassian Bitbucket
Hello,
For those people asking when this will be implemented: This capability has existed for years_,_ which is why the issue is closed. Go to the repository settings (as an admin user) and click Move Repository at the top right.
It also works with large numbers of projects in a server/DC instance; if you don't see your project right away, the project drop-down autocompletes and paginates with current versions of Bitbucket. Note that you must be an admin for both the source repository and the target project in order to be able to move a repository to another project.