diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -102,7 +102,11 @@ module IssuesHelper n = 0 ordered_values.compact.each do |value| s << "\n\n" if n > 0 && (n % 2) == 0 - s << "\t#{ h(value.custom_field.name) }:#{ simple_format_without_paragraph(h(show_value(value))) }\n" + if value.custom_field.field_format == "version" + s << "\t#{ h(value.custom_field.name) }:#{ h(link_to_version(Version.find_by_id(value.value))) }\n" + else + s << "\t#{ h(value.custom_field.name) }:#{ simple_format_without_paragraph(h(show_value(value))) }\n" + end n += 1 end s << "\n"