jira.js
    Preparing search index...

    Function getIncidentById

    • Retrieve the currently stored Incident data for the given ID.

      The result will be what is currently stored, ignoring any pending updates or deletes.

      Only Connect apps that define the jiraOperationsInfoProvider module can access this resource. This resource requires the 'READ' scope for Connect apps.

      Parameters

      • client: Client
      • parameters: { incidentId: string }
        • incidentId: string

          The ID of the Incident to fetch.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              affectedComponents: string[];
              associations?: {
                  associationType?: | string & {}
                  | "issueIdOrKeys"
                  | "serviceIdOrKeys"
                  | "ati:cloud:compass:event-source";
                  values?: string[];
                  [key: string]: unknown;
              }[];
              createdDate: Date;
              description: string;
              id: string;
              lastUpdated: Date;
              schemaVersion: string & {}
              | "1.0";
              severity?: {
                  level: "unknown" | string & {} | "P1" | "P2" | "P3" | "P4" | "P5";
                  [key: string]: unknown;
              };
              status: "unknown"
              | "open"
              | string & {}
              | "resolved";
              summary: string;
              updateSequenceNumber: number;
              url: string;
              [key: string]: unknown;
          },
      >