Function: updateProjectCategory()
ts
function updateProjectCategory(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
description?: string;
id?: string;
name?: string;
self?: string;
}>;Defined in: src/cloud/api/projectCategories.ts:81
Updates a project category.
Permissions required:Administer Jira global permission.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { body: { description?: string; id?: string; name?: string; self?: string; }; id: number; } | - |
parameters.body | { description?: string; id?: string; name?: string; self?: string; } | - |
parameters.body.description? | string | The description of the project category. |
parameters.body.id? | string | The ID of the project category. |
parameters.body.name? | string | The name of the project category. Required on create, optional on update. |
parameters.body.self? | string | The URL of the project category. |
parameters.id? | number | - |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; description?: string; id?: string; name?: string; self?: string; }>