Reputation: 4284
I would like to migrate all my Bugzilla issues to an Issue Tracker at github.com (Example) (you get an issue tracker per repository).
1) Are there tools out there?
2) How did you do it?
Thanks for any advices, I will write a summary at the end how I finally did it (hopefully not manually!)
Upvotes: 14
Views: 3992
Reputation: 462
You can do that with the help of Bondable https://web.archive.org/web/20160304172242/http://www.bondable.com/integrations/p/services/bugzilla
You can actually create a lot of integrations with Bugzilla
Note: As of 2020-03-11, www.bondable.com is no longer hosting a web app, and the original link is spammy
Upvotes: 0
Reputation: 25314
You need to export your issues from Bugzilla, and then use the GitHub API to upload the issues into GitHub:
http://developer.github.com/v3/issues/#create-an-issue
(note that the old issue-import through GitHub support channels is discontinued)
This does mean your issue numbers will change, so you might want to append a 'Bugzilla-Id' footer to your issue description, so you can use GitHub's free-text search on issues to find them from the old Bugzilla ids.
As far as exporting your data from Bugzilla goes, I think your options are:
Good luck! If you do write an export script, I'd encourage you to open-source it on GitHub!
Upvotes: 12
Reputation: 2762
I wrote a Perl script to handle this last year; effectively you save the bugs you want as XML via Bugzilla's built-in UI for it, and the script uploads them as individual issues.
It uses Net::GitHub::V2
for the uploading API and GitHub's oauth system for authentication. It reads the user and repo config from the environment by default because I was running it from other scripts; but all the variables are at the top of the script if you want to customise.
https://github.com/rowanj/BugzillaMigrate
Upvotes: 1
Reputation: 834
I recently encountered the same problem trying to migrate Bugzilla issues of a W3C project to GitHub, so I ended up
I hope that my script can be easily modified to fit the purposes of you, too.
Upvotes: 5