Represents a single pre-defined query.

interface PredefinedQuery {
    hasMore?: boolean;
    id?: string;
    name?: string;
    results?: WorkItem[];
    url?: string;
    webUrl?: string;
}

Properties

hasMore?: boolean

Whether or not the query returned the complete set of data or if the data was truncated.

id?: string

Id of the query

name?: string

Localized name of the query

results?: WorkItem[]

The results of the query. This will be a set of WorkItem objects with only the 'id' set. The client is responsible for paging in the data as needed.

url?: string

REST API Url to use to retrieve results for this query

webUrl?: string

Url to use to display a page in the browser with the results of this query