Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,sheading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getCommentById(issueKey, id);

Package

Alias

Pkg Usage

...

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

Parameter name

Type

Required

Description

issueKey

String

No

The key of the issue.

commentId

Number

Yes

Id of the issue comment

Return Type

/wiki/spaces/AA/pages/351830229

true

JComment

Example

Code Block
languagejs
number  [] arr = getAllCommentIds(argv["key"]);
for(number x in arr) {
 JComment cmt = getCommentById(x);
 runnerLog("Got comment:" + cmt["text"]);
}

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "customfieldjira_comment_routine" and space = currentSpace ( )
labelsarray_routines