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 | getCommentForRequest(requestId_or_Key, commentId) | Package | | Alias | | Pkg Usage | | |
Excerpt |
---|
|
Returns a comment structure |
Returns a comment structure with extra information (attachments and renderedBody), those are not get when using getCommentsForRequest
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
requestId_or_Key | String | Yes | The ID or Key of the customer request for which the comment will be retrieved | commentId | Integer | Yes | The ID of the comment to be re returned | |
JSMComment[]
Code Block |
---|
|
return getCommentForRequest("SM-1", 10072); |
Returns a list of JSMComment structures.
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "jsd_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|