Edgewall Software

Ticket #1514 (new enhancement)

Opened 3 years ago

Last modified 3 weeks ago

Mantis conversion script

Reported by: Paul Baranowski <paul@…> Owned by: cboos
Priority: normal Milestone: 2.0
Component: ticket system Version:
Severity: normal Keywords: mantis migration
Cc:

Description

A script to convert from Mantis(http://www.mantisbt.org/) to Trac would be super-cool!

Attachments

mantis2trac.py (25.6 kB) - added by Tarjei Knapstad <tarjei.knapstad@…> 3 years ago.
Mantis to Trac DB conversion script by Blake Watters

Change History

Changed 3 years ago by cboos

Have a look at the following mail: mantis2trac.py - Mantis Bug Importer

I didn't have the time to test it, unfortunately, but it looks good.

Changed 3 years ago by Tarjei Knapstad <tarjei.knapstad@…>

This should be added to contrib/ IMHO, I'd guess there are a lot of mantis users out there interested in Trac :)

I assume the author (Blake Watters) has it working for mantis 0.19.2. I've tried converting a 1.0.0a2 DB and it worked as well except that I had to comment out the code that adds ticket attachments for now. I've emailed the author about this, so maybe we can get it fixed to handle > 0.19.2 DB's as well. If so, I'll attach an updated version here.

I'm attaching the original script here to make it more accessible (the webpage mentioned in the list posting is 403, and the .bin attachment is a bit cumbersome - hope this is OK Blake!)

Changed 3 years ago by Tarjei Knapstad <tarjei.knapstad@…>

Mantis to Trac DB conversion script by Blake Watters

Changed 18 months ago by cboos

  • keywords mantis migration added
  • owner changed from jonas to cboos
  • component changed from general to ticket system
  • milestone set to 2.0

Could be integrated in the contrib one day.

Changed 3 weeks ago by iKnick

This script seems to old for Mantis 1.1.2 I'd assume it doesn't work since table structures have changed in Mantis. It would be nice to have a " 1.1.2 (mantis) TO 1.0 (Trac) " converter

Add/Change #1514 (Mantis conversion script)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
The owner will change to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.