Migration JIRA to Redmine

Added by Heribert Gasparoli 3 months ago

Hello all
First of all, I have to say that I have never dealt with Ruby and Rails before:
I need to migrate Jira to Redmine. In my attempt with "migrate_jira.rake" the rake always breaks when reading issues:

1. first it reads all users => works fine
2. then it reads the first project => works fine
3. then it reads the first issue => abort

rake aborted!
NoMethodError: undefined method `each' for nil:NilClass
/home/hga/redmine/lib/tasks/migrate_jira.rake:227:in `retrieve'
/home/hga/redmine/lib/tasks/migrate_jira.rake:79:in `migrate'
/home/hga/redmine/lib/tasks/migrate_jira.rake:575:in `block (3 levels) in <top (required)>'
/home/hga/redmine/lib/tasks/migrate_jira.rake:573:in `each'
/home/hga/redmine/lib/tasks/migrate_jira.rake:573:in `block (2 levels) in <top (required)>'
/home/hga/.rvm/gems/ruby-2.6.8/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/home/hga/.rvm/gems/ruby-2.6.8/bin/ruby_executable_hooks:22:in `eval'
/home/hga/.rvm/gems/ruby-2.6.8/bin/ruby_executable_hooks:22:in `<main>'
Tasks: TOP => jira_migration:do_all_migrations => jira_migration:migrate_issues
(See full trace by running task with --trace)

I hope someone can give me a tip on how to make it work.

Thank you in advance

Hello all

I forgot to say that I work with Redmine 4.2.3 in WLS2 Ubuntu 20.04

ruby 2.6.8p205 (2021-07-07 revision 67951) [x86_64-linux]
Rails 5.2.6

migrate_jira.rake Magnifier (18.2 KB)