jira.js
    Preparing search index...

    Function getWebhook

    • Returns a registered webhook. Requires administrator permission.

      Parameters

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

          The id of the webhook.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              active?: boolean;
              configuration?: Record<string, any>;
              createdDate?: number;
              events?: string[];
              id: number;
              name: string;
              scopeType?: string;
              sslVerificationRequired?: boolean;
              statistics?: {
                  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;
              };
              updatedDate?: number;
              url: string;
              [key: string]: unknown;
          },
      >