@@ -73,11 +73,11 @@ namespace :redmine do
73
73
Member . create! ( :principal => user , :project => project , :role_ids => [ Role . find_by_name ( role_name ) . id ] )
74
74
end
75
75
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
77
77
document_group . convert_to_redmine_document_category_on ( project )
78
78
end
79
79
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
81
81
gforge_document . convert_to_redmine_document_in ( document_category )
82
82
end
83
83
end
@@ -89,22 +89,22 @@ namespace :redmine do
89
89
artifact . convert_to_redmine_issue_in ( project )
90
90
end
91
91
artifact . monitors . each do |artifact_monitor |
92
- showing_migrated_ids ( artifact_monitor ) do | artifact_monitor |
92
+ showing_migrated_ids ( artifact_monitor ) do
93
93
artifact_monitor . convert_to_redmine_watcher_on ( issue )
94
94
end
95
95
end
96
96
artifact . messages . each do |artifact_message |
97
- showing_migrated_ids ( artifact_message ) do | artifact_message |
97
+ showing_migrated_ids ( artifact_message ) do
98
98
artifact_message . convert_to_redmine_journal_on ( issue )
99
99
end
100
100
end
101
101
artifact . files . each do |artifact_file |
102
- showing_migrated_ids ( artifact_file ) do | artifact_file |
102
+ showing_migrated_ids ( artifact_file ) do
103
103
artifact_file . convert_to_redmine_attachment_to ( issue )
104
104
end
105
105
end
106
106
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
108
108
artifact_history . convert_to_redmine_journal_on ( issue )
109
109
end
110
110
end
@@ -131,6 +131,11 @@ namespace :redmine do
131
131
message . save!
132
132
end
133
133
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
134
139
end
135
140
#end
136
141
end
0 commit comments