Skip to content

Function: getIssuesForBacklog() ​

ts
function getIssuesForBacklog(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  expand?: string | null;
  issues?: object[];
  maxResults?: number;
  maxResultWindow?: number;
  names?: Record<string, string> | null;
  schema?:   | Record<string, {
   [key: string]: unknown;
     custom?: string;
     customId?: number;
     items?: string;
     system?: string;
     type?: string;
   }>
     | null;
  startAt?: number;
  total?: number;
  warningMessages?: string[] | null;
}>;

Defined in: src/server/api/board.ts:117

Returns all issues from a board's backlog, for a given board Id.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ boardId: number; expand?: string; fields?: string | string[]; jql?: string; maxResults?: number; startAt?: number; validateQuery?: boolean; }-
parameters.boardIdnumberThe Id of the board that contains the requested issues.
parameters.expand?stringThis parameter is currently not used.
parameters.fields?string | string[]The list of fields to return for each issue. By default, all navigable and Agile fields are returned.
parameters.jql?stringFilters results using a JQL query. If you define an order in your JQL query, it will override the default order of the returned issues.
parameters.maxResults?numberThe maximum number of issues to return per page. Default: 50.
parameters.startAt?numberThe starting index of the returned issues. Base index: 0.
parameters.validateQuery?booleanSpecifies whether to validate the JQL query or not. Default: true.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; expand?: string | null; issues?: object[]; maxResults?: number; maxResultWindow?: number; names?: Record<string, string> | null; schema?: | Record<string, { [key: string]: unknown; custom?: string; customId?: number; items?: string; system?: string; type?: string; }> | null; startAt?: number; total?: number; warningMessages?: string[] | null; }>