|Version 4 (modified by thijs, 4 years ago) (diff)|
Import Jira backup files into Trac
The Jira2Trac plugin provides you with tools to import Jira backup files into Trac.
The plugin consists of a Python 3.1 commandline tool that:
- Parses the Jira backup XML file
- Sends the imported Jira data and attachments to Trac using the XmlRpcPlugin
- Generates a htpasswd file containing the users with their SHA-512 base64 encoded passwords
Using a patched version of the AccountManagerPlugin allows you then to authenticate Jira users in Trac.
It currently supports migration of:
- Issue Types
This plugin was developed with:
Dependencies on other Trac plugins:
If you have any issues, create a new ticket.
Download the zipped source from here.
#!/bin/bash BACKUP=../../data/backup.xml ATTACHMENTS=../../data/attachments HTPASSWD=../test/.htpasswd USERNAME=admin PASSWORD=admin HOST=localhost:8080/test ./jira2trac -i $BACKUP -a $ATTACHMENTS -u $USERNAME -p $PASSWORD -l $HOST -t $HTPASSWD