Skip to content

Function: getIssuesInQueue() ​

ts
function getIssuesInQueue(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  _expands?: string[];
  _links?: {
   [key: string]: unknown;
     base?: string;
     context?: string;
     next?: string;
     prev?: string;
     self?: string;
  };
  isLastPage?: boolean;
  limit?: number;
  size?: number;
  start?: number;
  values?: object[];
}>;

Defined in: src/serviceDesk/api/servicedesk.ts:258

This method returns the customer requests in a queue. Only fields that the queue is configured to show are returned. For example, if a queue is configured to show description and due date, then only those two fields are returned for each customer request in the queue.

Permissions required: Service desk's agent.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ limit?: number; queueId: number; serviceDeskId: string; start?: number; }-
parameters.limit?numberThe maximum number of items to return per page. Default: 50. See the Pagination section for more details.
parameters.queueId?numberThe ID of the queue whose customer requests will be returned.
parameters.serviceDeskId?stringThe ID of the service desk containing the queue to be queried. This can alternatively be a project identifier.
parameters.start?numberThe starting index of the returned objects. Base index: 0. See the Pagination section for more details.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; _expands?: string[]; _links?: { [key: string]: unknown; base?: string; context?: string; next?: string; prev?: string; self?: string; }; isLastPage?: boolean; limit?: number; size?: number; start?: number; values?: object[]; }>