Details
-
Bug
-
Resolution: Timed out
-
Medium
-
None
-
4.0, 4.0.1, 4.0.2, 4.1, 4.1.1, 4.1.2, 4.2, 4.2.1, 4.2.2
-
4
-
Severity 2 - Major
-
-
Description
Steps to reproduce
When you have some issue fields that contains text starting with a dash "-" and then export the issue to excel, They will be treated as numeric types. Whenever you try to make amends on them and hit the "Enter" key, it behaves in an awkward manner. File test.xls illustrates this phenomena on "description field".
Workaround:
A workaround to this is to add a non breakable space if the description contains a dash character.
edit the file WEB-INF\classes\templates\jira\issue\field\description-columnview.vm to be as thus:
#if ($description) #if (${displayParams.excel_view}) #if ($description.contains("-")) #end $textutils.br($textutils.htmlEncode($description, false)) #else $rendererManager.getRenderedContent($fieldLayoutItem, $issue) #end #end