Hi I tried the suggested resolution on http://jiraeditor.com/docs/
in order to get rid of the HTML tags in emails regarding changes in issues.
But when the lines:
#set ($oldText = $velocityhelper.getPrettyFieldString($changeitem.getString(“field”), $changeitem.getString($oldstringKey), $i18n, “”))
#set ($newText = $velocityhelper.getPrettyFieldString($changeitem.getString(“field”), $changeitem.getString($newstringKey), $i18n, “”))
$!diffutils.diff($oldText, “background-color:${auiErrorBackgroundColour};text-decoration:line-through;”, $newText, “background-color:${auiSuccessBackgroundColour};”)
are replaced with:
#if ($changeitem.getString(“field”) == “description” || $changeitem.getString(“field”) == “Comment”)
#if ($changeitem.getString($newstringKey)) $changeitem.getString($newstringKey)
#else Empty
#end
#else
#set ($oldText = “”) #set ($newText = “”)
#set ($oldText = $velocityhelper.getPrettyFieldString($changeitem.getString(“field”), $changeitem.getString($oldstringKey), $i18n, “”))
#set ($newText = $velocityhelper.getPrettyFieldString($changeitem.getString(“field”), $changeitem.getString($newstringKey), $i18n, “”))
$!diffutils.diff($oldText, “background-color:${auiErrorBackgroundColour};text-decoration:line-through;”, $newText, “background-color:${auiSuccessBackgroundColour};”)
#end
There are a lot of errors in the received emails.
Any ideas?
"" “”
This was the problem, the different between symbols - different quotation marks. :)
Hi Todor,
We have fixed the quotes. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.