I want to pull out a report on ticket description/summary along with last comment and user who has commented this. I can pull out last comment but do not know on how to pull the user name/id who has made this last comment. Appreciate any help on this
Hi @sasikala Malli
Maybe using:
$!issue.reporterUser.displayName
And this code loops through all the comments, listing up the name of the commentator:
#set ($issueComments = $allComments.getComments($issue))#foreach($comment in $issueComments)$comment.getAuthorFullName() wrote:$comment.getBody()#end
HTH,KGM
It looks like you're new here. Sign in or register to get started.