A Jira issue field (system or custom).

interface JiraField {
    clauseNames: string[];
    custom: boolean;
    id: string;
    name: string;
    navigable: boolean;
    orderable: boolean;
    schema?: {
        custom?: string;
        customId?: number;
        items?: string;
        system?: string;
        type: string;
    };
    searchable: boolean;
}

Properties

clauseNames: string[]

Clause names used in JQL

custom: boolean

Whether this is a custom field

id: string

Unique field ID (e.g. 'summary', 'customfield_10000')

name: string

Human-readable name

navigable: boolean

Whether the field is navigable

orderable: boolean

Whether the field is orderable

schema?: {
    custom?: string;
    customId?: number;
    items?: string;
    system?: string;
    type: string;
}

Field schema

searchable: boolean

Whether the field is searchable