[[PageOutline(2-5,Contents,pullout)]] = Import Jira backup files into Trac == Description The Jira2Trac plugin provides you with tools to import [http://atlassian.com/software/jira/ 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: - [http://atlassian.com/software/jira/ Atlassian Jira Enterprise] {{{3.6.5 (build 161)}}} - [http://trac.edgewall.org Trac] {{{0.11.4}}} See also: t:TracImport == Bugs/Feature Requests Existing bugs and feature requests for JiraToTracIntegration are [report:9?COMPONENT=JiraToTracIntegration here]. If you have any issues, create a [/newticket?component=JiraToTracIntegration new ticket]. [[TicketQuery(component=JiraToTracIntegration&group=type,format=progress)]] == Download Download the zipped source from [export:jiratotracintegration here]. == Source Check out JiraToTracIntegration from [/svn/jiratotracintegration here] using Subversion, or [source:jiratotracintegration browse the source] with Trac. == Installation General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. Dependencies on other Trac plugins: - XmlRpcPlugin - AccountManagerPlugin - HttpAuthPlugin == Example The following snippet runs the jira2trac script to migrate a Jira database backup file into a Trac database: {{{#!sh #!/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 [[ChangeLog(jiratotracintegration, 3)]] == Author/Contributors '''Author:''' [wiki:thijs] [[BR]] '''Maintainer:''' [[Maintainer]] [[BR]] '''Contributors:'''