%{issue.lastComment.visibility}
Read
This field can be used to check potential visibility restrictions of the last comment.
Name of a group or project role the visibility of the last comment entered in the issue is restricted to. If no restriction is applied to the comment, this field returns an empty string. For Service Desk's special Internal visibility restriction, string "Internal
" is returned.
Write
In Jira Service Desk it also admits values public
and internal
(without double quotes), or alternatively jsd_public
and jsd_internal
to avoid name collision with existing project roles and user groups, see the following examples:
Developers
: for setting visibility to project role or group with name Developersjsd_internal
: for setting JSD internal visibilityjira-developers
: for setting visibility to "jira-developers" user group