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

getCommentForRequest(requestId_or_Key, commentId)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns a comment structure

Returns a comment structure with extra information (attachments and renderedBody), those are not get when using getCommentsForRequest

Parameters

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

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

Return Type

JSMComment[]

Example

Code Block
languagejs
return getCommentForRequest("SM-1", 10072);

Returns a list of JSMComment structures.

See also

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

We've encountered an issue exporting this macro. Please try exporting this page again later.