Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Import repository with pull requests

How to import repository to bitbucket with pull requests??

2 answers

1 accepted

2 votes
Answer accepted

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:

BSERV-4586

 

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 

Like # people like this

@Caterina Curti _Kate_ 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

@Caterina Curti _Kate_ 

 

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

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

Is it possible to import merge requests from gitlab to bitbucket.org?.  If it's possible, how can I do it?.

Thanks in advance!

@Caterina Curti _Kate_  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 ?

Is it possible to move do all of this (migrate pull requests, comments, PR status, etc.) from Bitbucket Server to Bitbucket Cloud?

Like Sayantan Ghosh likes this

Hi @Nikolay Kojuharov @Shashank Mani @Alexis Mosquera  @Caterina Curti _Kate_ 

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,734 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you