Hello, when creating a template I can't show private comments nor issue security level.
The only thing I found about the comments is in this next link:
https://www.meta-inf.hu/display/PLUG/Add+Issue+Comments+to+Emails
However, there's only info about $!publicComments.
How can I have ALL the comments in the template, and how can i access the JIRA issue security level?
Thanks in advance
JIRA 7.1.2
Hello,
Do you have any news about this problem?
Thanks in advance,
Hi,
The issue object has two methods to access the level
$!issue.getSecurityLevel() and $!issue.getSecurityLevelId()
See more on these methods at the API: https://docs.atlassian.com/software/jira/docs/api/latest/com/atlassian/jira/issue/Issue.html
At the moment, restricted comments are not accessible to the template context.
Tibor
Once, released, all comments are available as $!commentManager.getComments($!issue)
released in version 7.0.24