Migrating Issues from Google Code to Bitbucket

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

Accepted Answer
1 vote

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

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
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

132 views 6 8
View post

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