= mantis2trac home = == Description == Mantis bugs can be imported using this script. Currently, the following data is imported from Mantis: * bugs * bug comments * bug activity (field changes) * attachments (as long as they're stored in the database) Attachments are imported ONLY if they're stored in the database. There's no provision for migrating filesystem-based attachments at this time. If you use the script, please read the NOTES section (at the top of the file) and make sure you adjust the config parameters for your environment. == Bugs/Feature Requests == Existing bugs and feature requests for MantisImportScript are [report:9?COMPONENT=MantisImportScript here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=MantisImportScript&owner=codeFiend new ticket]. == Download == Download the zipped source from [download:mantisimportscript here]. == Source == You can check out MantisImportScript from [http://trac-hacks.org/svn/mantisimportscript here] using Subversion, or [source:mantisimportscript browse the source] with Trac. == Example == mantis2trac.py has similar parameters as the bugzilla2trac.py script: mantis2trac - Imports a bug database from Mantis into Trac. Usage: mantis2trac.py [options] Available Options: {{{ --db [MySQL dbname] - Mantis database --tracenv /path/to/trac/env - Full path to Trac db environment }}} == Recent Changes == [[ChangeLog(mantisimportscript, 3)]] == Author/Contributors == '''Author:''' [wiki:codeFiend] [[BR]] '''Contributors:'''