Skip to content

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 ​

ParameterTypeDescription
clientClient-
parameters{ description?: string; id?: string; name?: string; self?: string; }-
parameters.description?stringThe description of the project category.
parameters.id?stringThe ID of the project category.
parameters.name?stringThe name of the project category. Required on create, optional on update.
parameters.self?stringThe URL of the project category.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; description?: string; id?: string; name?: string; self?: string; }>