Interface BulkApiResult

Result from JIRA Bulk API wrapper (E4-S03) Normalized response from /rest/api/2/issue/bulk endpoint

interface BulkApiResult {
    created: {
        id: string;
        index: number;
        key: string;
        self: string;
    }[];
    failed: {
        errors: Record<string, string>;
        index: number;
        status: number;
    }[];
}

Properties

Properties

created: {
    id: string;
    index: number;
    key: string;
    self: string;
}[]

Successfully created issues

Type declaration

  • id: string

    Issue ID

  • index: number

    Original row index (0-based)

  • key: string

    Created issue key (e.g., "PROJ-123")

  • self: string

    Self URL

failed: {
    errors: Record<string, string>;
    index: number;
    status: number;
}[]

Failed issues with error details

Type declaration

  • errors: Record<string, string>

    Field-level errors (field name → error message)

  • index: number

    Original row index (0-based)

  • status: number

    HTTP status code