Page History
...
Solution: Reversing of the order is done by applying some Velocity tricks. If you're not willing to dive into details, then take this as Here's a working example and feel free to that you can use in your notification.
Code Block | ||||
---|---|---|---|---|
| ||||
<b>Comment History:</b><br> <table border="0" cellspacing="10"> #set($max = $issue.fields.comment.comments.size() - 1) #foreach($i in [ $max .. 0 ]) #set ($comment = $issue.fields.comment.comments.get($i) ) <tr> <td valign="top"><b>$comment.author.displayName</b></td> <td valign="top" nowrap>$jirassimo.formatDate($comment.created, "yyyy-MM-dd HH:mm:ss")</td> <td>$!comment.body</td> </tr> #end #end </table> |
...