jira.js
    Preparing search index...

    Function getWebhookStatistics

    • Returns how a webhook has been delivering. Requires administrator permission.

      Parameters

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

          The id of the webhook.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              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;
          },
      >