Edgewall Software
Modify

Ticket #1514 (new enhancement)

Opened 7 years ago

Last modified 17 months ago

Mantis conversion script

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

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

Download all attachments as: .zip

Change History

comment:1 Changed 7 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.

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

Mantis to Trac DB conversion script by Blake Watters

comment:3 Changed 5 years ago by cboos

  • Component changed from general to ticket system
  • Keywords mantis migration added
  • Milestone set to 2.0
  • Owner changed from jonas to cboos

Could be integrated in the contrib one day.

comment:4 Changed 3 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 22 months ago by cboos

  • Milestone changed from 2.0 to unscheduled

Milestone 2.0 deleted

comment:6 Changed 17 months ago by cboos

  • Milestone changed from triaging to next-major-0.1X
  • Priority changed from normal to lowest

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from cboos. Next status will be 'new'
The owner will be changed from cboos to anonymous. Next status will be 'assigned'
Author


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

 
Note: See TracTickets for help on using tickets.