Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleListing of comments in reverse order
linenumberstrue

<b>Comment History:</b><br>

#if ($issue.fields.comment.comments.size())
  <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>
#end