jira.js
    Preparing search index...

    Function addNotifications

    • Adds notifications to a notification scheme. You can add up to 1000 notifications per request.

      Deprecated: The notification type EmailAddress is no longer supported in Cloud. Refer to the changelog for more details.

      Permissions required: Administer Jira global permission.

      Parameters

      • client: Client
      • parameters: {
            id: string;
            notificationSchemeEvents: {
                event?: { id: string; [key: string]: unknown };
                notifications: {
                    notificationType: string;
                    parameter?: string;
                    [key: string]: unknown;
                }[];
                [key: string]: unknown;
            }[];
        }
        • id: string

          The ID of the notification scheme.

        • notificationSchemeEvents: {
              event?: { id: string; [key: string]: unknown };
              notifications: {
                  notificationType: string;
                  parameter?: string;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          }[]

          The list of notifications which should be added to the notification scheme.

      • Optionaloptions: RequestOptions

      Returns Promise<void>