jira.js
    Preparing search index...

    Function getImportSource

    • Retrieves a specific import source configuration by its ID. If scheduled imports are enabled, the response includes scheduling information.

      Parameters

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

          The unique identifier of the import source

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              collectionId?: string;
              created?: Date;
              dateFormat?: string;
              dateTimeFormat?: string;
              defaultConcatenator?: string;
              defaultHandleComputeIssueValues?: string
              | null;
              defaultHandleEmptyValues?: string;
              defaultHandleNotMappedValues?: string | null;
              defaultHandleNullValues?: string | null;
              defaultHandleUnknownValues?: string;
              description?: string | null;
              id?: string;
              importExecutionType?: string | null;
              importSourceModuleKey?:
                  | string & {}
                  | "rlabs-import-type-csv"
                  | "rlabs-import-type-json"
                  | "rlabs-import-type-external"
                  | "insight-discovery-import"
                  | "rlabs-import-type-dm-csv";
              importSourceOTEntries?: | {
                  created?: Date
                  | null;
                  description?: string | null;
                  emptyValues?: string | null;
                  id?: string;
                  importSourceId?: string | null;
                  importSourceOTAttrEntries?:
                      | { id?: string; [key: string]: unknown }[]
                      | null;
                  importStatus?:
                      | {
                          configurationStatusType?: string & {}
                          | "ENABLED"
                          | "DISABLED";
                          reasonForInvalidity?: Record<string, any>;
                          validationStatusType?:
                              | string & {}
                              | "VALID"
                              | "INVALID_CONFIGURATION"
                              | "MODULE_UNINSTALLED";
                          [key: string]: unknown;
                      }
                      | null;
                  matchIdentifierIgnoreCase?: boolean
                  | null;
                  objectType?:
                      | { id?: string; name?: string; [key: string]: unknown }
                      | null;
                  parentImportSourceOTId?: string | null;
                  selector?: string | null;
                  selectorIQL?: string | null;
                  selectorQlQuery?: string | null;
                  unknownValues?: string | null;
                  updated?: Date | null;
                  [key: string]: unknown;
              }[]
              | null;
              importSpecificConfiguration?: string;
              importStatus?: | {
                  configurationAuiLozenge?: string;
                  configurationStatusType?: string & {}
                  | "ENABLED"
                  | "DISABLED"
                  | null;
                  name?: string;
                  reasonForInvalidity?: Record<string, any> | null;
                  validation?: string;
                  validationAuiLozenge?: string;
                  validationStatusType?:
                      | string & {}
                      | "VALID"
                      | "INVALID_CONFIGURATION"
                      | "MODULE_UNINSTALLED"
                      | null;
                  [key: string]: unknown;
              }
              | null;
              integratedImportTypeExtensionId?: string
              | null;
              integratedImportTypeId?: number | null;
              isImportSourceSchedulingEnabled?: boolean | null;
              name?: string;
              objectSchemaId?: string;
              scheduledImportDetails?:
                  | {
                      createdAt?: Date;
                      importScheduleId?: string;
                      nextScheduledTime?: Date;
                      runFrequency?: string & {}
                      | "ONCE"
                      | "DAILY"
                      | "WEEKLY"
                      | "MONTHLY";
                      startTime?: Date;
                      [key: string]: unknown;
                  }
                  | null;
              tokenGenerated?: boolean
              | null;
              updated?: Date;
              url?: string | null;
              [key: string]: unknown;
          },
      >