getCommentById
Syntax | getCommentById(id); | Package | |
Alias | Pkg Usage |
Description
Gets all the comment properties for a given id.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
commentId | Number | Yes | Id of the issue comment |
Return Type
true
Example
number [] arr = getAllCommentIds(key);
for(number x in arr) {
JComment cmt = getCommentById(x);
runnerLog("Got comment:" + cmt["text"]);
}