Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to migrate a project from BitBucket to GitHub, and would like to import all the issues (preferably keeping their issue numbers intact).

Is there some tool or service which will accomplish this?

share|improve this question

This worked for me https://github.com/jeffwidman/bitbucket-issue-migration

python migrate.py -g username -u username -s reponame -d reponame
share|improve this answer
    
seems to only works for public repos – imanuelcostigan Dec 29 '13 at 2:40
    
Also fails if you have 2FA enabled. – mlissner Jul 25 '14 at 14:32
    
Didn't work even for public repositories – Christian Dec 15 '14 at 10:03
1  
i recently took over maintenance of the bitbucket-issue-migration script. I fixed the bugs so it works fine for public repos, private repos are a planned feature in the next few weeks. 2FA is also supported via access tokens--it'll give you a helpful warning message if you try a 2FA account and just provide your normal password. – Jeff Widman Jan 3 at 4:07
    
@JeffWidman thank you. Just saw the tool and this. Looking forward to the new release that supports private repo. – fossilet Jan 15 at 6:24

I just wrote a simple script in Ruby just to do that, you can check it out here: https://github.com/siong1987/issues_importer

share|improve this answer
    
It seems, that description of your script is very limited and I think, your code can only be used by an experienced Ruby developer. I found it very usable (the idea) and even thought about installing Ruby just for this one case. However, limited description proven me, that I'm not going to use it, as I have lack of knowledge. Any chance you can extend the description (format of .rb file, what, how and when should be run etc.) or introduce some simple wiki for that repo? – trejder Sep 21 '14 at 16:08
1  
@trejder i just updated the documentation. it is actually as easier as that. – siong1987 Sep 22 '14 at 21:21
    
Thank you so much! :> – trejder Sep 23 '14 at 7:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.