Open jijeesh opened 9 years ago
I checked the trace, for me it was for a bad map migration file. Open 'map_jira_to_redmine.yml' and set a proper issue type for SubTask. In my case I used 'Feature' and this solved my problem.
This happened to me too. I had a fresh Redmine install, no trackers or issue status.
I assumed that the script created the issue status and trackers, but you have to set them first in your Redmine implementation before importing. When the script doesn't found one of them it just gives this error.
Hi, I'm getting the following error when running the rake. (Using redmine 3.30)
rake jira_migration:do_all_migrations RAILS_ENV="production". rake jira_migration:do_all_migrations RAILS_ENV="production" --trace I have already added the following to the map_jira_to_redmine.yml. (already added trackers, statuses and priorities in redmine) But not any other details.
types: Bug: Bug New Feature: New Feature Task: Task Improvement: Improvement Sub-task: Sub-task Epic: Epic status: Done: Done To Do: To Do Closed: Closed Resolved: Resolved In Development: In Development PRE REVIEW: PRE REVIEW Reopened: Reopened Testing: Testing In Code Review: In Code Review IN DEV ANALYSIS: IN DEV ANALYSIS In Progress: In Progress In Review: In Review priorities: Medium: Medium Highest: Highest High: High Low: Low
Any idea to fix this / what i'm doing wrong / Format of map_jira_to_redmine.yml ? What should i put into redmine before starting this ? Any complete sample for map_jira_to_redmine.yml would be much apprecieated.
rake jira_migration:do_all_migrations RAILS_ENV="production" rake aborted! NoMethodError: undefined method'
Tasks: TOP => jira_migration:do_all_migrations => jira_migration:migrate_issue_types
(See full trace by running task with --trace)
save!' for nil:NilClass /var/www/html/redmine/lib/tasks/migrate_jira.rake:925:in
block (3 levels) in <top (required)>' /var/www/html/redmine/lib/tasks/migrate_jira.rake:920:ineach' /var/www/html/redmine/lib/tasks/migrate_jira.rake:920:in
block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:ineval' /usr/local/rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in