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 imported Jira users and 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:

  • Resolutions
  • Priorities
  • Components
  • Issue Types
  • Statuses
  • Tickets
  • Attachments
  • Users

This plugin was developed with:

Dependencies on other Trac plugins:

Bugs/Feature Requests

Existing bugs and feature requests for JiraToTracIntegration are here.

If you have any issues, create a new ticket.

Download and Source

Download the zipped source, check out using Subversion, or browse the source with Trac.

Example

#!/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

Recent Changes

[6272] by thijs on 07/23/09 01:21:35

Remove incorrect entries

[6271] by thijs on 07/23/09 01:16:33

Work for #5463

[6161] by thijs on 07/09/09 00:32:44

Add ability to load settings from config file (#5465)

[6117] by thijs on 06/28/09 20:26:57

Fix some broken imports and defs

Author/Contributors

Author: thijs
Maintainer: thijs
Contributors: