@@ -73,11 +73,11 @@ namespace :redmine do
7373 Member . create! ( :principal => user , :project => project , :role_ids => [ Role . find_by_name ( role_name ) . id ] )
7474 end
7575 gforge_group . document_groups . each do |document_group |
76- document_category = showing_migrated_ids ( project ) do
76+ document_category = showing_migrated_ids ( document_group ) do
7777 document_group . convert_to_redmine_document_category_on ( project )
7878 end
7979 document_group . documents . each do |gforge_document |
80- gforge_document = showing_migrated_ids ( document_category ) do
80+ gforge_document = showing_migrated_ids ( gforge_document ) do
8181 gforge_document . convert_to_redmine_document_in ( document_category )
8282 end
8383 end
@@ -89,22 +89,22 @@ namespace :redmine do
8989 artifact . convert_to_redmine_issue_in ( project )
9090 end
9191 artifact . monitors . each do |artifact_monitor |
92- showing_migrated_ids ( artifact_monitor ) do | artifact_monitor |
92+ showing_migrated_ids ( artifact_monitor ) do
9393 artifact_monitor . convert_to_redmine_watcher_on ( issue )
9494 end
9595 end
9696 artifact . messages . each do |artifact_message |
97- showing_migrated_ids ( artifact_message ) do | artifact_message |
97+ showing_migrated_ids ( artifact_message ) do
9898 artifact_message . convert_to_redmine_journal_on ( issue )
9999 end
100100 end
101101 artifact . files . each do |artifact_file |
102- showing_migrated_ids ( artifact_file ) do | artifact_file |
102+ showing_migrated_ids ( artifact_file ) do
103103 artifact_file . convert_to_redmine_attachment_to ( issue )
104104 end
105105 end
106106 artifact . histories . find ( :all , :order => "entrydate asc" ) . each do |artifact_history |
107- showing_migrated_ids ( artifact_history ) do | artifact_history |
107+ showing_migrated_ids ( artifact_history ) do
108108 artifact_history . convert_to_redmine_journal_on ( issue )
109109 end
110110 end
@@ -131,6 +131,11 @@ namespace :redmine do
131131 message . save!
132132 end
133133 end
134+ forum_group . monitors . each do |monitor |
135+ showing_migrated_ids ( monitor ) do
136+ monitor . convert_to_redmine_watcher_on ( board )
137+ end
138+ end
134139 end
135140 #end
136141 end
0 commit comments