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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

hi - Does anyone has any idea on how can I pull out username who had commented on 'last comment' in

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

1 answer

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 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you