Kulgar / jira2redmine

Script for import from JIRA to redmine
31 stars 27 forks source link

Copy JIRA attachments to Redmine attachments folder #3

Closed cb372 closed 11 years ago

cb372 commented 11 years ago

The original script migrates the DB entries for attachments, but does not copy the actual files.

Because the bug IDs change during migration, and the attachment file naming scheme is completely different for Jira and Redmine, it is very difficult to copy the files manually. So I extended the script to do the copying.

Before running the migration, you should copy (or sym-link) your Jira attachments folder to $REDMINE_HOME/jira_attachments, so that the script can find them. This path is hard-coded as JIRA_ATTACHMENTS_DIR near the top of the script.