Perl RT3 (request tracker) migrate script
Anyone doing a migrate from RT3?
I wrote a rake task a la the other examples, but needs help going the final distance.
My problem. We don't use RT to it's full extent to have good testing data.
Everything is migrated, but some attributes are left behind that shouldn't have to be.
I didn't want to include it on the "Migrate" section of the wiki without some more polish.
i am very interested in a solution from migrating from rt3 to redmine. we already use rt for some internal stuff, but i am far away from doing anything with ruby. i get the following errors when trying to do a test migration: (its a fresh installed redmine 1.0.5 with a test project under rhel6)
rake redmine:migrate_from_rt3 RAILS_ENV=production --trace
/var/www/html/redmine-1.0.5/lib/tasks/migrate_from_rt3.rake:846: syntax error, unexpected $end, expecting kEND
RE: Perl RT3 (request tracker) migrate script - Added by James Rowe over 11 years ago
I posted fix to the syntax error.
For my company I had to make sure all the saves worked. If you look at the rake task you'll see an exclamation (!) point on the .save function.
Our company used RT in a very limited way and this script reflects that.
If you want to just see what migrates do a find replace with ".save!" as the find and ".save" as the replace. This will allow the script to execute.
Let me know if you want to collaborate on a script that will work for your RT installation.