jira.js
    Preparing search index...

    Function getReindexInfo

    • Returns information on the system reindexes. If a reindex is currently taking place then information about this reindex is returned. If there is no active index task, then returns information about the latest reindex task run, otherwise returns a 404 indicating that no reindex has taken place.

      Parameters

      • client: Client
      • Optionalparameters: { taskId?: number }
        • OptionaltaskId?: number

          The id of an indexing task you wish to obtain details on. If omitted, then defaults to the standard behaviour and returns information on the active reindex task, or the last task to run if no reindex is taking place.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              currentProgress?: number;
              currentSubTask?: string;
              finishTime?: Date;
              progressUrl?: string;
              startTime?: Date;
              submittedTime?: Date;
              success?: boolean;
              type?: | string & {}
              | "FOREGROUND"
              | "BACKGROUND"
              | "BACKGROUND_PREFFERED"
              | "BACKGROUND_PREFERRED";
              [key: string]: unknown;
          },
      >