Skip to content

moshe/bitbucket-pull-request-migration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 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>
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

Languages

  • Python 90.5%
  • Shell 7.6%
  • Dockerfile 1.9%