Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Upgrade from 6.4 to 7.2 and velocity template stopped working

Kevin Dalton
Contributor
May 1, 2017

#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

1 answer

0 votes
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 22, 2022

This is so old I'm not even sure how to answer this any longer.  We are not on Jira 9

Kevin Dalton
Contributor
November 2, 2022

We just informed out users and removed it :)

We are now on 8.20 DC

Suggest an answer

Log in or Sign up to answer