jira.js
    Preparing search index...

    Function fetchMigrationTask

    • Returns the details of a Connect issue field's migration to Forge.

      When migrating a Connect app to Forge, Issue Field modules must be converted to Custom field. When the Forge version of the app is installed, Forge creates a background task to track the migration of field data across. This endpoint returns the status and other details of that background task.

      For more details, see Jira modules > Jira Custom Fields.

      Permissions required: Only Connect and Forge apps can make this request.

      Parameters

      • client: Client
      • parameters: { connectKey: string; jiraIssueFieldsKey: string }
        • connectKey: string

          The key of the Connect app that contains the Jira issue field being migrated.

        • jiraIssueFieldsKey: string

          The module key of the Connect issue field being migrated.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              description?: string;
              elapsedRuntime: number;
              finished?: Date;
              id: string;
              lastUpdate: Date;
              message?: string;
              progress: number;
              result?: unknown;
              self: string;
              started?: Date;
              status: | string & {}
              | "ENQUEUED"
              | "RUNNING"
              | "COMPLETE"
              | "FAILED"
              | "CANCEL_REQUESTED"
              | "CANCELLED"
              | "DEAD";
              submitted?: Date;
              submittedBy: number;
              [key: string]: unknown;
          },
      >