how to mention username within jelly comment

I am commenting on a ticket via Jelly and want to address the assignee/reporter at start. How can I achieve it?

I tried various OPTIONS in comment

<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib">
<jira:AddComment comment=" OPTIONS : Issue comment" issue-key="ABC-1" />
</JiraJelly>


OPTIONS i tried

  1. ${issue.getAssigneeUser().getDisplayName()}
  2. ${issue.assignee}
  3. Even ${user.getFullName()}

But nothing worked.

it comments only : Issue comment

2 answers

It is something similar I am looking for as atlassian emailing users on auto freezing or closing

Hi USERNAME,

...

...

...

i think you need to hot code the user name, try with this

<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib">
<jira:AddComment comment="Issue comment" issue-key="ABC-1" commenter="prasad" />
</JiraJelly>

Sorry bu you got me wrong.. I am trying to add the name of reporter or assignee to the comment automatically via Jelly.

e.g. When you receive any comment about the open support ticket from Atlassian robot, your name is addressed in that comment. If any one know how they are achieving it?

i don't think it is possible!!!

you have to pass user name!

If atlassian is achieving it then it is possible

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,887 views 12 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot