%{issue.lastComment.visibility}
Read
This field can be used to check for visibility restrictions of the last comment.
The output will be the group or project role the visibility of the last comment is restricted to. If no restriction is applied to the comment, this field returns an empty text.
For Service Desk's special Internal visibility restriction, the text "Internal" is returned.
Write
Updates the visibility of the last comment in the issue if it exists.
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.
Input | Description |
---|---|
Developers | Sets visibility to project role or group named Developers. |
jsd_internal | Sets the Service Desk visibility to Internal. |
jira-developers | Sets visibility to the group jira-developers. |