Versions Compared

Key

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

Syntax

getCommentById(issueKey, id);

Package

Alias

Pkg Usage

Description

...

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

#1JComment

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 = "jira_comment_routinefunction" and space = currentSpace ( )
labelsarray_routinesfunctions