jira.js
    Preparing search index...

    Function reindexIssues

    • Reindexes one or more individual issues. Indexing is performed synchronously - the call returns when indexing of the issues has completed or a failure occurs.

      Parameters

      • client: Client
      • parameters: {
            indexChangeHistory?: boolean;
            indexComments?: boolean;
            indexWorklogs?: boolean;
            issueId?: string[];
        }
        • OptionalindexChangeHistory?: boolean

          Indicates that changeHistory should also be reindexed.

        • OptionalindexComments?: boolean

          Indicates that comments should also be reindexed.

        • OptionalindexWorklogs?: boolean

          Indicates that worklogs should also be reindexed.

        • OptionalissueId?: string[]

          The IDs or keys of one or more issues to reindex.

      • 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;
          },
      >