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

This widget could not be displayed.

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

Hi USERNAME,

...

...

...

This widget could not be displayed.

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

you can submit feture request at http://support.atlassian.com/

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

265 views 1 3
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