Skip to content

Variable: targetToSourcesMappingSchema

ts
const targetToSourcesMappingSchema: ZodObject<{
  inferClassificationDefaults: ZodBoolean;
  inferFieldDefaults: ZodBoolean;
  inferStatusDefaults: ZodBoolean;
  inferSubtaskTypeDefault: ZodBoolean;
  issueIdsOrKeys: ZodOptional<ZodArray<ZodString>>;
  targetClassification: ZodOptional<ZodNullable<ZodArray<ZodObject<{
     classifications: ZodRecord<ZodString, ZodAny>;
     issueType: ZodOptional<ZodString>;
     projectKeyOrId: ZodOptional<ZodString>;
  }, $loose>>>>;
  targetMandatoryFields: ZodOptional<ZodNullable<ZodArray<ZodObject<{
     fields: ZodRecord<ZodString, ZodAny>;
  }, $loose>>>>;
  targetStatus: ZodOptional<ZodNullable<ZodArray<ZodObject<{
     statuses: ZodRecord<ZodString, ZodAny>;
  }, $loose>>>>;
}, $loose>;

Defined in: src/cloud/models/targetToSourcesMapping.ts:11

An object representing the mapping of issues and data related to destination entities, like fields and statuses, that are required during a bulk move.