Skip to content

Function: getAttachmentMeta() ​

ts
function getAttachmentMeta(client, options?): Promise<{
[key: string]: unknown;
  enabled?: boolean;
  uploadLimit?: number;
}>;

Defined in: src/cloud/api/issueAttachments.ts:66

Returns the attachment settings, that is, whether attachments are enabled and the maximum attachment size allowed.

Note that there are also project permissions that restrict whether users can create and delete attachments.

This operation can be accessed anonymously.

Permissions required: None.

Parameters ​

ParameterType
clientClient
options?RequestOptions

Returns ​

Promise<{ [key: string]: unknown; enabled?: boolean; uploadLimit?: number; }>