isPublicJSDComment (Power Scripts)

The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.

Description

This routine returns the type of comment, if the comment is public, the routine will return "true"otherwise it will return "false".

Parameters

Return Type

Boolean (true/false)

If the comment is public, the routine will return "true" otherwise it will return "false".

Example

Th following code will return "true" if the last comment in that issue is external and "false" otherwise.

isPublicJSDComment(getLastComment(key)["id"]);

See also

Peacock