Can't create a template with private comments (internal) and can't access issue security level

Description

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

Environment

JIRA 7.1.2

Preliminary Test Cases

None

Activity

Show:
Sebastião Maya
September 22, 2016, 10:51 AM

Hello,

Do you have any news about this problem?

Thanks in advance,

Tibor Hegyi
September 27, 2016, 10:50 AM

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

Tibor Hegyi
October 18, 2016, 12:52 PM

Once, released, all comments are available as $!commentManager.getComments($!issue)

Tibor Hegyi
October 23, 2016, 6:46 PM

released in version 7.0.24

Done

Assignee

Tibor Hegyi

Reporter

Sebastião Maya

Access to limited visibility issues

None

Product platform

None

Module Dependency

None

Ready for Development

None

Target version

None

Components

Fix versions

Affects versions

Priority

Major