Skip to content

Function: getAllBoards() ​

ts
function getAllBoards(
   client, 
   parameters?, 
   options?
): Promise<{
[key: string]: unknown;
  isLast: boolean;
  maxResults: number;
  startAt: number;
  total?: number;
  values: object[];
}>;

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

Returns all boards. This only includes boards that the user has permission to view.

Parameters ​

ParameterTypeDescription
clientClient-
parameters?{ maxResults?: number; name?: string; projectKeyOrId?: string; startAt?: number; type?: string | string[]; }-
parameters.maxResults?numberThe maximum number of boards to return per page. Default: 50.
parameters.name?stringFilters results to boards that match or partially match the specified name.
parameters.projectKeyOrId?stringFilters results to boards that are relevant to a project.
parameters.startAt?numberThe starting index of the returned boards. Base index: 0.
parameters.type?string | string[]Filters results to boards of the specified type. Valid values: scrum, kanban.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; isLast: boolean; maxResults: number; startAt: number; total?: number; values: object[]; }>