Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=getAllCommentIds+-+433654365 |
---|
width | auto |
---|
|
Table plus |
---|
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 | getAllCommentIds(key) | ; |
Excerpt |
---|
|
Gets all the comment ids that are already entered on an issue. |
Gets all the comment ids that are already entered on an issue. Gets all the comment ids that are already entered on an issue. Unlike the getComment getCommentById() routine function, this routine function returns what is already entered on the issue. Comments are guaranteed to be sorted from the oldest to the newest one. For instance the last comment is at the end of the array, first comment is the first in the list.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
key | String | Yes | Key of the issue. | |
Number []
Ids of the comments on the issue represented by key parameter.
Code Block |
---|
|
number [] arr = getAllCommentIds(key);
for(number x in arr) {
string [] cmt = getCommentById(x);
runnerLog("Got comment:" + cmt["text"]);
} |
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "comment_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.