How to import repository to bitbucket with pull requests??
Hi @FE
It is currently not possible to import or migrate repositories with pull requests from a different Bitbucket Server (self-hosted) installation.
We have on open feature request on this topic:
Although pull requests, permissions and settings in general cannot be imported, the Git repositories themselves can be moved to a different server by using one of the option on the following article:
- Server 5.10 Importing code from an existing project
If you are using bitbucket.org (the option hosted by Atlassian), let us know and we can provide a detailed answer on that.
Cheers,
Caterina
Hi Caterina,
If you are using bitbucket.org (the option hosted by Atlassian), let us know and we can provide a detailed answer on that.
I want to import my whole project from https://bitbucket.org to Bitbucket Server with pull requests and comments.
Could you please provide detailed instruction on how to do that.
Regards,
Nikita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Caterina Curti Just like @Nikita Voloshin mentioned above.
I want to import my whole project from https://bitbucket.org to Bitbucket Server with pull requests and comments.
Could you please provide detailed instruction on how to do that.
Best,
Ejiro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We also want to import our project including PRs. BSERV-4586 shows as resolved. So is it possible now?
Please let me know
thanks
Laura
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Laura Hinojosa
Please see this comment by Imran (the Bitbucket Server and Data Center product manager for this feature) on the feature request.
The feature is available for Data Center customers since the 5.14 version but, at this stage, it cannot be used by Server customers.
BSERV-11008 is the new feature request for adding this feature for Server customers. In case you are interested on this feature, feel free to add a comment there to explain why this is relevant for a Server customer.
More details on the difference between Server and Data Center for Bitbucket Server can be found on the Bitbucket: Bitbucket Server vs. Bitbucket Data Center page and here is a table with the feature comparison.
Cheers,
Caterina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it possible to import merge requests from gitlab to bitbucket.org?. If it's possible, how can I do it?.
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Caterina Curti We are using licensed version of bitbucket and tried to move repo from github to bitbucket but we aren't able to see the pull requests, Can you pls help us if it's possible or not ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it possible to move do all of this (migrate pull requests, comments, PR status, etc.) from Bitbucket Server to Bitbucket Cloud?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nikolay Kojuharov @Shashank Mani @Alexis Mosquera @Caterina Curti
It is possible to migrate all the Pull Requests with Repository user and group level permission schemes. Even it is possible to migrate multiple projects and it's repositories.
I have done it using automation script. You can trigger their Data Center rest API calls.
https://docs.atlassian.com/bitbucket-server/rest/5.16.0/bitbucket-rest.html
You need to develop python scripts to fetch the details from source environment and to update it in your target environment via POST API calls.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey ,
I am looking for options to migrate bitbucket repos from server to cloud along with Pull request history and metadata information. BSERV-4586 status is closed . Can you provide me details on now to get this done .
Thanks
Maya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Sayantan Ghosh
I wonder if you have managed to implement the script? What were the hints, pitfalls you can share?
KR, Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.