jira.js
    Preparing search index...

    Function getAttachment

    • Returns the meta-data for an attachment, including the URI of the actual attached file.

      Parameters

      • client: Client
      • parameters: { id: string }
        • id: string

          Id of the attachment to view

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              author?: {
                  active?: boolean;
                  avatarUrls?: Record<string, string>;
                  displayName?: string;
                  emailAddress?: string;
                  key?: string;
                  name?: string;
                  self?: string;
                  timeZone?: string;
                  [key: string]: unknown;
              };
              content?: string;
              created?: string;
              filename?: string;
              id?: string;
              mimeType?: string;
              properties?: Record<string, any>;
              self?: string;
              size?: number;
              thumbnail?: string;
              [key: string]: unknown;
          },
      >