Function: updateRequestType()
ts
function updateRequestType(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
_links?: {
[key: string]: unknown;
self?: string;
};
description?: string;
groupIds?: string[];
helpText?: string;
icon?: {
[key: string]: unknown;
_links?: {
[key: string]: unknown;
iconUrls?: Record<string, any>;
};
id?: string;
};
id?: string;
name?: string;
restrictionStatus?: string & object | "OPEN" | "RESTRICTED";
serviceDeskId?: string;
}>;Defined in: src/serviceDeskServer/api/requestTypes.ts:132
Updates a request type for a given service project. Note Issue Type cannot be changed.
Permissions:
The calling user must be a project administrator for the service project project.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { description?: string; helpText?: string; name?: string; requestTypeId?: number; serviceDeskId: string; } | - |
parameters.description? | string | - |
parameters.helpText? | string | - |
parameters.name? | string | - |
parameters.requestTypeId? | number | - |
parameters.serviceDeskId? | string | The id of the service desk. |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; _links?: { [key: string]: unknown; self?: string; }; description?: string; groupIds?: string[]; helpText?: string; icon?: { [key: string]: unknown; _links?: { [key: string]: unknown; iconUrls?: Record<string, any>; }; id?: string; }; id?: string; name?: string; restrictionStatus?: string & object | "OPEN" | "RESTRICTED"; serviceDeskId?: string; }>