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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { approvalId: string; issueIdOrKey: string; } | - |
parameters.approvalId | string | The id of the approval. |
parameters.issueIdOrKey? | string | The id or key of the customer request. |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; commentsRequiredWhenApprove?: boolean; commentsRequiredWhenDecline?: boolean; }>