Response body from GET /rest/api/latest/search or POST /rest/api/latest/search.

interface JiraSearchResponse {
    expand?: string;
    issues: JiraIssue[];
    maxResults: number;
    maxResultWindow?: number;
    names?: Record<string, string>;
    startAt: number;
    total: number;
    warningMessages?: string[];
}

Properties

expand?: string

URL used to perform the search

issues: JiraIssue[]

Issues in this page

maxResults: number

Maximum number of results requested

maxResultWindow?: number

Search result window limit exposed by Jira Data Center.

names?: Record<string, string>

Field name → display name mapping (when expand=names)

startAt: number

Index of the first result

total: number

Total number of issues matching the query

warningMessages?: string[]

Warning messages from the JQL validator