Migrate Bugzilla Issues to github Issue Tracker
Asked Answered
C

4

13

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

Catina answered 2/9, 2011 at 9:4 Comment(4)
I know I've seen "Google Code -> Github" converters. So if you find one for converting "Bugzilla -> Google Code" then you could do it in two steps. Quite a roundabout way but it's possible that's the easiest solution out there.Elmaelmajian
any pointer to the Google Code -> Github converter?Catina
I don't remember where I saw it. Maybe somewhere on reddit. A quick Google search turns up github.com/arthur-debert/google-code-issues-migrator but I haven't tried it...Elmaelmajian
Thanks, I'll check it out and comment here my results...Catina
P
12

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!

Palace answered 11/1, 2012 at 11:11 Comment(0)
J
4

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.

Jehoash answered 25/12, 2012 at 22:18 Comment(0)
A
1

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

Animal answered 18/1, 2013 at 2:24 Comment(0)
M
0

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

Monochromatism answered 22/5, 2014 at 15:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.