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

Migrating Issues from Google Code to Bitbucket

Eric Roberts May 21, 2014

Hello,

I was wondering if anyone knew the best way to migrate issues from a google code project to an existing Bitbucket repository issue tracker. There used to be a few scripts floating around but they are largely now broken as far as I can tell since Google has stopped their Google Issue Tracking API as of July 2013.

I apologize if this topic has come up before, I've searched on the site and on google and found nothing helpful yet. If there is a topic covering this please kindly redirect me.

Thanks for your time in advance,

- Eric

1 answer

1 accepted

1 vote
Answer accepted
Eric Roberts June 3, 2014

I found a solution. Though it's not ideal it works fine for me.

I create up a dummy github repo as a proxy/temporary issue holder and I run this:

https://github.com/arthur-debert/google-code-issues-migrator

Which migrates my issues from Google Code to Github.

To migrate from Github to BitBucket I then run this:

https://bitbucket.org/joeworkman/git2bit

The 'git2bit' script has a bug that does not copy comments when there is only 1 comment. I created a pull request from my repo here (which has the fix):

https://bitbucket.org/ericr86/git2bit/

I also tailored the output a little of script locally on my machine (in bin/git2bit) to remove some of the extraneous information about the github "proxy issue tracker" I created and used.

Hope this helps someone else,

- Eric

Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 3, 2014

Cool solution, thanks for sharing. To prevent nag emails, you'll want to mark this answer as accepted.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events