Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 2

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

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

isPublicJSDComment(jsdCommentId)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

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

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

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

jsdCommentId

Number

Yes

The id of the JSD comment

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.

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

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jsd_routine" and space = currentSpace ( )
labelsarray_routines
We've encountered an issue exporting this macro. Please try exporting this page again later.