jira.js
    Preparing search index...

    Function getWebhookStatisticsSummary

    • Returns the delivery statistics of a webhook, one entry per event it delivers. Requires administrator permission.

      Parameters

      • client: Client
      • parameters: { webhookId: number }
        • webhookId: number

          The id of the webhook.

      • Optionaloptions: RequestOptions

      Returns Promise<
          Record<
              string,
              {
                  counts?: {
                      errors?: number;
                      failures?: number;
                      successes?: number;
                      window?: { duration?: number; start?: number; [key: string]: unknown };
                      [key: string]: unknown;
                  };
                  lastError?: Record<string, any>;
                  [key: string]: unknown;
              },
          >,
      >