You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Field code
%{issue.lastComment.visibility}


Read


Returned valueText describing visibility restrictions for the last comment
Output data type

TEXT

Example outputjira-administrators

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


Additional information for writing valuesUpdates the visibility of the last comment in the issue if it exists. Can be used to set the visibility of a comment introduced with virtual field New comment.

Allowed input TEXT

name of a Project Role or name of a Group.

Allowed input NUMBER


Example input Developers
jsd_internal
jira-developers

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 Developers
  • jsd_internal : for setting JSD internal visibility
  • jira-developers : for setting visibility to "jira-developers" user group