jira.js
    Preparing search index...

    Function updateImportSchedule

    • Updates an existing scheduled import configuration. You can modify the start time, run interval, or callback URL.

      Parameters

      • client: Client
      • parameters: {
            callbackUrl?: string | null;
            importScheduleId: string;
            importSourceId: string;
            runInterval: string & {} | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY";
            startTime: unknown;
        }
        • OptionalcallbackUrl?: string | null

          Optional webhook URL to call after each scheduled import execution. The URL will receive a POST request with execution status.

        • importScheduleId: string

          The ID of the import schedule to update

        • importSourceId: string

          The ID of the import source

        • runInterval: string & {} | "ONCE" | "DAILY" | "WEEKLY" | "MONTHLY"

          The frequency of the scheduled import. ONCE: runs only at startTime. DAILY: runs every day at the specified time. WEEKLY: runs every 7 days. MONTHLY: runs on the same day of each month.

        • startTime: unknown

          The date and time when the first import should execute, in ISO 8601 format (e.g., '2024-01-15T02:00:00Z'). Must be in the future.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              collectionId?: string;
              created?: Date;
              id?: string;
              importSourceId?: string;
              runInterval?: string & {}
              | "ONCE"
              | "DAILY"
              | "WEEKLY"
              | "MONTHLY";
              startTime?: Date;
              updated?: Date;
              [key: string]: unknown;
          },
      >