Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sorich87/github-to-bitbucket-issues-migration

Migrate issues from a Github repository to a Bitbucket one
https://github.com/sorich87/github-to-bitbucket-issues-migration

Last synced: 2 months ago
JSON representation

Migrate issues from a Github repository to a Bitbucket one

Awesome Lists containing this project

README

        

Export issues from a Github repository to the [Bitbucket
Issue Data Format](https://confluence.atlassian.com/display/BITBUCKET/Export+or+Import+Issue+Data)

## Usage

Requirements:
* Ruby
* Bundler (http://bundler.io/)

Make sure you have all dependencies:
```
bundle install
```
And then:
```
ruby cli.rb -u username -p password -r myrepo -o issues.zip
```
or:
```
ruby cli.rb -t token_here --organization your_org
```
Available options
```
-t, --access_token [ARG] Github access token
-u, --username [ARG] Github username
-p, --password [ARG] Github password
--organization [ARG] Export all organization's repositories
-o, --output [ARG] Output filename - defaults to [repo_name].zip
-r, --repository [ARG] Export only one repository
-h, --help Show this message
```