The use of this routine requires the Power Scripts for Jira add-on be installed and licensed.
...
applyColStyleToCell | true |
---|---|
heading | 0 |
columnTypes | s,s,s,s |
multiple | false |
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
enableSorting | false |
...
Syntax
...
isPublicJSDComment(jsdCommentId)
...
Package
...
Alias
...
Pkg Usage
Description
Excerpt | ||
---|---|---|
| ||
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
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
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) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|