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:
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
Do you have any news about this problem?
Thanks in advance,
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.
Once, released, all comments are available as $!commentManager.getComments($!issue)
released in version 7.0.24