Skip to content

mashayev/bitbucket-pull-request-migration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitbucket-pull-request-migration

Bitbucket pull requests migration to GitHub issues

Run this command to start the migration
  • Clone the repostiry to your local env
  • Change run.sh export variables according to your environment
export GITHUB_TOKEN=<Add your GITHUB_TOKEN>
export BITBUCKET_USER=<Add your BITBUCKET_USER>
export BITBUCKET_TOKEN=<Add your BITBUCKET_TOKEN>
  • Run the migration script with proper arguments
./run.sh <repository_name> <github_org_name> <bitbucket_org_name> <total_pull_requests>
In the new Github repositry it should create issue with the below inforamtion:
Full Diff - <Here it will create a link to the diff between master and destination branch>
Author: <Name>
Reviewers: <Reviewers name 1>, <Reviewers name 2>
Approvers: <Approvers name 1>, <Approvers name 1>
Source Branch: <Branch name>
Destination Branch: master
Closed On: 2021-09-19T08:47:04.149338+00:00
Status: MERGED / OPEN

added <PR title / description>

About

Migrate Bitbucket pull requests to GitHub issues

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published