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

Migrating bitbucket to github along with its active PRs and their corresponding comments

Soumik Mukherjee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 22, 2023

Hi Community,

I am currently doing a basic POC (proof of concept) before moving onto the actual project.

The project basically has the idea, that we need to migrate the entire codebase from Bitbucket to Github including all the pull requests and their corresponding comments.

As a first step, I have mirrored the Bitbucket repo to Github including all the active commits and branches.

Now, in the next step,  I want to fetch all the active pull requests from the current Bitbucket repository locally, so that I can later on push them to the Github repo.

Suggest the steps to achieve this.

Thank you!

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 26, 2023

Hi Soumik,

Pull requests are not saved as references in Bitbucket Cloud repos at the moment.

We provide several API endpoints to get info associated with pull requests:

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events