Edgewall Software
Modify

Opened 20 years ago

Last modified 8 years 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
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

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@…> 19 years ago.
Mantis to Trac DB conversion script by Blake Watters

Download all attachments as: .zip

Change History (10)

comment:1 by Christian Boos, 20 years ago

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 by Tarjei Knapstad <tarjei.knapstad@…>, 19 years ago

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

by Tarjei Knapstad <tarjei.knapstad@…>, 19 years ago

Attachment: mantis2trac.py added

Mantis to Trac DB conversion script by Blake Watters

comment:3 by Christian Boos, 18 years ago

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 by iKnick, 16 years ago

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 by Christian Boos, 15 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

comment:6 by Christian Boos, 14 years ago

Milestone: triagingnext-major-0.1X
Priority: normallowest

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

comment:7 by Ryan J Ollos, 9 years ago

Owner: Christian Boos removed

comment:9 by anonymous, 8 years ago

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

Modify Ticket

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

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.