Skip to content

Function: getApprovalCommentConfig() ​

ts
function getApprovalCommentConfig(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  commentsRequiredWhenApprove?: boolean;
  commentsRequiredWhenDecline?: boolean;
}>;

Defined in: src/serviceDeskServer/api/approvals.ts:49

Returns approval comment config for a given approval ID.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ approvalId: string; issueIdOrKey: string; }-
parameters.approvalIdstringThe id of the approval.
parameters.issueIdOrKey?stringThe id or key of the customer request.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; commentsRequiredWhenApprove?: boolean; commentsRequiredWhenDecline?: boolean; }>