Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi,
We are in the process of migrating from bitbucket to stash. Out working repository is still BitBucket.
I have created repository in Stash using
git clone --mirror http://user@bitbucket/repo.git
git remote add stash http://user@stash.host.com/repo.git
git push --mirror stash
Which is success and I am able to see all commits and branches in Stash.
Though, how can I update next time from BitBucket to Stash, only new changes, in incremental way.
Hi Praveen,
You may want to take a look at our Add-on ScriptRunner for Stash available in the Atlassian Marketplace.
Specifically, this Add-on has functionality that helps you mirror BitBucket repositories to Stash.
The documentation outlines how you can go about it: https://scriptrunner.adaptavist.com/stash/latest/docs/administrative_scripts/#mirror-github-or-bitbucker-user-team-or-organization
There is also a video you can take a look at too:
https://www.youtube.com/watch?v=r_r-cqircBo
Mirroring a BitBucket repo to Stash using this plugin was very easy to setup and get working, and the polling approach required no networking change to expose our internal Stash to BitBucket. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use this free plugin to achieve what you want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.