jira.js
    Preparing search index...

    Function getAttachmentThumbnail

    • Returns the thumbnail of an attachment.

      To return the attachment contents, use servicedeskapi/request/{issueIdOrKey}/attachment/{attachmentId}.

      Permissions required: For the issue containing the attachment:

      Parameters

      • client: Client
      • parameters: { attachmentId: number; issueIdOrKey: string }
        • attachmentId: number

          The ID of the attachment.

        • issueIdOrKey: string

          The ID or key for the customer request the attachment is associated with

      • Optionaloptions: RequestOptions

      Returns Promise<ArrayBuffer | ArrayBufferView<ArrayBufferLike>>