Upgrade from 6.4 to 7.2 and velocity template stopped working

#disable_html_escaping()
#if ($issue.components && $issue.components.size() >0)
<tr>
<th>#text("common.concepts.components"):</th>
<td>
#foreach ($component in $issue.components)
$component.getString("name")#if ($velocityCount != $issue.components.size()), #end
#end
</td>
</tr>
#end

 

The above use to show all the component/s on an issue in the notification email.  Now all it shows is 

Components:
$component.getString('name'), $component.getString('name')

 

Instead of

Components: JIRA , OTS

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 47m ago in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

8 views 0 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you