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