how to mention username within jelly comment

Amit Girme July 26, 2013

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

3 answers

1 vote
RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 26, 2013

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>

Amit Girme July 28, 2013

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?

RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2013

i don't think it is possible!!!

you have to pass user name!

Amit Girme July 28, 2013

If atlassian is achieving it then it is possible

RambanamP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2013

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

0 votes
Daniel Chen March 20, 2021

Crainer just stole jellys cow

0 votes
Amit Girme July 26, 2013

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

Hi USERNAME,

...

...

...

Suggest an answer

Log in or Sign up to answer