Function: updateQueue()
ts
function updateQueue(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
_links?: {
[key: string]: unknown;
self?: string;
};
fields?: string[];
id?: string;
issueCount?: number;
jql?: string;
name?: string;
}>;Defined in: src/serviceDeskServer/api/queues.ts:95
Updates the queue properties with the new properties. If a property is not passed it will not be updated.
Permissions:
The calling user must have permission to update a queue, i.e. they must be an admin of the service project that the queue belongs to.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { fields?: string[]; jql?: string; name?: string; queueId: string; serviceDeskId: string; } | - |
parameters.fields? | string[] | - |
parameters.jql? | string | - |
parameters.name? | string | - |
parameters.queueId? | string | The id of the queue. |
parameters.serviceDeskId? | string | The ID of the service project. |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; _links?: { [key: string]: unknown; self?: string; }; fields?: string[]; id?: string; issueCount?: number; jql?: string; name?: string; }>