Interface BulkManifest

Manifest tracking bulk operation results

Structure aligns with E4-S03 JIRA bulk API response format for zero-conversion storage.

interface BulkManifest {
    created: Record<number, string>;
    errors: Record<number, {
        errors: Record<string, string>;
        status: number;
    }>;
    failed: number[];
    id: string;
    succeeded: number[];
    timestamp: number;
    total: number;
    uidMap?: Record<string, string>;
}

Properties

created: Record<number, string>

Map of row index to created issue key

errors: Record<number, {
    errors: Record<string, string>;
    status: number;
}>

Map of row index to error details Format matches JIRA bulk API response (E4-S03) for direct storage

Type declaration

  • errors: Record<string, string>

    Map of field name to error message

  • status: number

    HTTP status code from JIRA

failed: number[]

Array of row indices that failed

id: string

Unique manifest ID (format: bulk-{uuid})

succeeded: number[]

Array of row indices that succeeded

timestamp: number

Creation timestamp (milliseconds since epoch)

total: number

Total number of rows processed

uidMap?: Record<string, string>

Map of UID to created issue key (E4-S13: Hierarchy Support)

Tracks UID→Key mappings for hierarchy creation and retry support. When retrying with a manifest, these mappings allow child issues to reference parents created in previous attempts.