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

Compare with Current View Page History

« Previous Version 13 Next »


Field code
%{issue.lastComment.visibility}

Read


Returned value

Visibility restriction of the last comment (info)

Output data type

TEXT

Example outputjira-administrators

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.

(warning) For service projects, "Public" is returned for unrestricted (customer-visible) comments and "Internal" for internal (agent-only) ones.


Write


Valid text input

Name of a group or project role (info)

Valid numerical input


Example inputjsd_internal

Updates the visibility of the last comment in the issue if it exists.

When using Jira Service Management the values "Public" and "Internal" (without double quotes) are also available to control the visibililty between agents and customers. Alternatively, use jsd_public and jsd_internal to avoid name collision with existing project roles and user groups.

InputDescription
DevelopersSets visibility to project role or group named Developers.
jsd_internalSets the service project visibility to Internal.
jira-developersSets visibility to the group jira-developers.