Patch by Yuuki NARA and Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17658
e93f8b46-1217-0410-a6f0-
8f06a7374b81
end
end
if issue.project && version_name = row_value(row, 'fixed_version')
- if version = issue.project.versions.named(version_name).first
+ version =
+ issue.project.versions.named(version_name).first ||
+ issue.project.shared_versions.named(version_name).first
+ if version
attributes['fixed_version_id'] = version.id
elsif create_versions?
version = issue.project.versions.build