@@ -310,7 +310,7 task :migrate_from_mantis => :environment do | |||
|
310 | 310 | :created_on => bug.date_submitted, |
|
311 | 311 | :updated_on => bug.last_updated |
|
312 | 312 | i.author = User.find_by_id(users_map[bug.reporter_id]) |
|
313 | i.category = IssueCategory.find_by_project_id_and_name(i.project_id, bug.category) unless bug.category.blank? | |
|
313 | i.category = IssueCategory.find_by_project_id_and_name(i.project_id, bug.category[0,30]) unless bug.category.blank? | |
|
314 | 314 | i.fixed_version = Version.find_by_project_id_and_name(i.project_id, bug.fixed_in_version) unless bug.fixed_in_version.blank? |
|
315 | 315 | i.status = STATUS_MAPPING[bug.status] || DEFAULT_STATUS |
|
316 | 316 | i.tracker = (bug.severity == 10 ? TRACKER_FEATURE : TRACKER_BUG) |
General Comments 0
You need to be logged in to leave comments.
Login now