Migrating Issues from Google Code to Bitbucket


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

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:


Which migrates my issues from Google Code to Github.

To migrate from Github to BitBucket I then run this:


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):


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

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

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published yesterday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

309 views 6 15
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot