Edgewall Software

Opened 13 years ago

Last modified 8 months ago

#1514 new enhancement

Mantis conversion script

Reported by: Paul Baranowski <paul@…> Owned by:
Priority: lowest Milestone: next-major-releases
Component: ticket system Version:
Severity: normal Keywords: mantis migration
Release Notes:
API Changes:


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

Attachments (1)

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

Download all attachments as: .zip

Change History (10)

comment:1 Changed 13 years ago by Christian Boos

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.

comment:2 Changed 12 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 12 years ago by Tarjei Knapstad <tarjei.knapstad@…>

Attachment: mantis2trac.py added

Mantis to Trac DB conversion script by Blake Watters

comment:3 Changed 11 years ago by Christian Boos

Component: generalticket system
Keywords: mantis migration added
Milestone: 2.0
Owner: changed from Jonas Borgström to Christian Boos

Could be integrated in the contrib one day.

comment:4 Changed 9 years 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

comment:5 Changed 8 years ago by Christian Boos

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:6 Changed 7 years ago by Christian Boos

Milestone: triagingnext-major-0.1X
Priority: normallowest

I'll have to take a look at this at some point in the future…

comment:7 Changed 3 years ago by Ryan J Ollos

Owner: Christian Boos deleted

comment:8 Changed 2 years ago by figaro

comment:9 Changed 8 months ago by anonymous

Latest version can be found at http://github.com/trac-hacks/mantis2trac

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set.
The owner will be changed from (none) to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences .

Note: See TracTickets for help on using tickets.