jira.js
    Preparing search index...

    Function addAttachment

    • Adds one or more attachments to an issue.

      This operation can be accessed anonymously.

      Permissions required:

      Parameters

      Returns Promise<
          {
              author?: {
                  accountId?: string;
                  accountType?: string;
                  active?: boolean;
                  avatarUrls?: {
                      "16x16"?: string;
                      "24x24"?: string;
                      "32x32"?: string;
                      "48x48"?: string;
                      [key: string]: unknown;
                  };
                  displayName?: string;
                  emailAddress?: string;
                  self?: string;
                  timeZone?: string;
                  [key: string]: unknown;
              };
              content?: string;
              created?: Date;
              filename?: string;
              id?: string;
              mimeType?: string;
              self?: string;
              size?: number;
              thumbnail?: string;
              [key: string]: unknown;
          }[],
      >