we uprgraded our jira to version 5.0.5 today, before we were running version 4.2.4. In that version we had made a custom release notes template that would also show all comments made on an issue. To do that we had to be able to get a CommentManager object. We did this like this:
#foreach ($issue in $issueType.issues)
#if($issueType.issues.size() > 0)
#set ($comments = $action.ComponentManager.CommentManager.getComments($issue))
#if ($comments)
#foreach ($comment in $comments)
...
that worked fine in jira 4.2.4 however it isn't working anymore in jira 5.0.5, does anyone know how i can get a commentmanager object again when creating a custom release notes template in jira 5.0.5 or how to get a commentmanager object some other way, without using $action for example ?