Hello all,
Today, I hacked together a JIRA migration tool. If you want your bugs migrated please do the following two things:
1) Under Administration, <your project>, People, add 'Bugzilla Bug Exporter (valhallasw)' to 'Administrators' and click 'Update'. Otherwise, the bot cannot close the bug.
2) File a bug in bugzilla using the following link: https://bugzilla.wikimedia.org/enter_bug.cgi?product=Wikimedia&component...
3) Your bugs will be migrated for you! See https://bugzilla.wikimedia.org/58820 for an example of what the converted bug looks like.
Merlijn
Merlijn van Deen valhallasw@arctus.nl wrote:
Today, I hacked together a JIRA migration tool. [...]
As I said on Bugzilla: Pretty cool! :-)
If someone is just interested in a backup of their project, but doesn't necessarily want to migrate it to another bug- tracker (yet), JIRA provides XML dumps that look fairly com- plete.
To download one, go to https://jira.toolserver.org/secure/QuickSearch.jspa and type in for example "project = ". An autocompleted list should show up. Choose your project and click "Search". At the top right you should see a drop-down menu "Views". Choose "XML", save the file and look if it contains everything you expected.
There seems to be a export limit of 1000 issues, so for projects with more issues you need to be creative :-) (left as an exercise to the reader).
Tim
Terrible newlines/escaping again as with the sourceforge import (is there an open bug for this?), but great! I assume you're also importing closed bugs? Can the TS admins please follow the procedure for the TS-related JIRA projects so that he can import them when JIRA approaches closure/is set read-only? Thanks.
Nemo
Hi Nemo,
On 23 December 2013 13:12, Federico Leva (Nemo) nemowiki@gmail.com wrote:
Terrible newlines/escaping again as with the sourceforge import (is there an open bug for this?),
This is now fixed -- the default jira REST format does not include newlines. I'm now using the HTML format, which is converted back to markdown-ish plain text.
but great! I assume you're also importing closed bugs?
Currently, only bugs with status status in (Open, "In Progress", Reopened, "In Review", Assigned, "Waiting for customer") are converted; If you think it's useful, I can also convert the closed bugs, and also close them on Bugzilla. Doing a full status-status mapping is not on my to-do-list.
The code I use is available here: https://git.wikimedia.org/summary/?r=pywikibot/sf-export.git .
If you want to test on a local bugzilla: I downloaded a VM from http://www.turnkeylinux.org/bugzilla ; I had to run /var/www/bugzilla/ install-module.pl to get the xml-rpc api working.
Merlijn
On 23 December 2013 13:55, Merlijn van Deen valhallasw@arctus.nl wrote:
Currently, only bugs with status status in (Open, "In Progress", Reopened, "In Review", Assigned, "Waiting for customer") are converted; If you think it's useful, I can also convert the closed bugs, and also close them on Bugzilla. Doing a full status-status mapping is not on my to-do-list.
Guess what? I found some time to implement it. Closed bugs are now also imported (without assigning the bug to the original assignee, or adding CC's, to limit the bug spam). Statuses and resolutions are also converted.
See the just-converted https://bugzilla.wikimedia.org/buglist.cgi?component=Matthewrbowker%27s%20to... for the current format & conversion.
Merlijn
Hi Merlijn, hi Tim,
how cool! Thanks for your work! I saw that Tim went through a whole lot of tickets in Jira. I poked Nosy, DaB. and Mette, if one of them could react upon the open ssh key requests. However, I don't know how often they are online these days. Please understand if it takes a moment.
Best, Silke
2013/12/21 Merlijn van Deen valhallasw@arctus.nl:
Hello all,
Today, I hacked together a JIRA migration tool. If you want your bugs migrated please do the following two things:
- Under Administration, <your project>, People, add 'Bugzilla Bug Exporter
(valhallasw)' to 'Administrators' and click 'Update'. Otherwise, the bot cannot close the bug.
- File a bug in bugzilla using the following link:
https://bugzilla.wikimedia.org/enter_bug.cgi?product=Wikimedia&component...
- Your bugs will be migrated for you! See
https://bugzilla.wikimedia.org/58820 for an example of what the converted bug looks like.
Merlijn
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette
toolserver-l@lists.wikimedia.org