wiki:JiraToTracIntegration

Import Jira backup files into Trac

Description

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:

See also: t:TracImport

Bugs/Feature Requests

Existing bugs and feature requests for JiraToTracIntegration are here.

If you have any issues, create a new ticket.

defect

1 / 4

enhancement

0 / 3

task

0 / 1

Download

Download the zipped source from here.

Source

Check out JiraToTracIntegration from here using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Dependencies on other Trac plugins:

Example

The following snippet runs the jira2trac script to migrate a Jira database backup file into a Trac database:

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

13407 by rjollos on 2013-10-10 09:48:36
Install jira2trac as a console script.
13406 by rjollos on 2013-10-10 09:07:01
Removed intermediate 0.11 directory.
6272 by thijs on 2009-07-23 01:21:35
Remove incorrect entries
(more)

Author/Contributors

Author: thijs
Maintainer: Thijs Triemstra
Contributors:

Last modified 8 months ago Last modified on Dec 14, 2015, 4:24:40 PM