Skip to content

Function: getCustomFields() ​

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

Defined in: src/server/api/issueFields.ts:15

Returns a list of Custom Fields in the given range.

Parameters ​

ParameterTypeDescription
clientClient-
parameters?{ lastValueUpdate?: string; maxResults?: string; projectIds?: string; screenIds?: string; search?: string; sortColumn?: string; sortOrder?: string; startAt?: string; types?: string; }-
parameters.lastValueUpdate?stringThe last value update to filter the custom fields.
parameters.maxResults?stringThe maximum number of custom fields to return.
parameters.projectIds?stringA list of project IDs to filter the custom fields.
parameters.screenIds?stringA list of screen IDs to filter the custom fields.
parameters.search?stringA query string used to search custom fields.
parameters.sortColumn?stringThe column by which to sort the returned custom fields.
parameters.sortOrder?stringThe order in which to sort the returned custom fields.
parameters.startAt?stringThe starting index of the returned custom fields.
parameters.types?stringA list of custom field types to filter the custom fields.
options?RequestOptions-

Returns ​

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