isPublicJSDComment (Power Scripts)

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

Description

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

Parameters

Return Type

Boolean (true/false)

If the comment is public, the function 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