Email Subject Error

Vishwas N M October 31, 2019

Hello All,

 

For email notifications we have modified the subject of mail by creating  a custom .vm file in jira 6. 3 version as affectsversion.vm file and have called by using  #parse in all the .vm files like issueupdated.vm , issueassigned.vm files of subject folder.

Content of affectversion.vm file is as follows.

#disable_html_escaping()
#if($issue.affectedVersions && $issue.affectedVersions.size() >0)[#foreach($version in $issue.affectedVersions))$stringUtils.deleteWhitespace($stringUtils.strip( $version.getString("name")))#if($velocityCount!=$issue.affectedVersions.size()),#end#end]#end#if($issue.getCustomFieldValue("customfield_11615"))$issue.getCustomFieldValue("customfield_11615")#end

 

After the upgrade  to jira 7.13 the mail subjects are coming in this way :emailerror.png

Can you pls help me to resolve the issue.

0 answers

Suggest an answer

Log in or Sign up to answer