projectCategory
create-project-category
Create project category
Creates a project category.
Permissions required: Administer Jira global permission.
POST /rest/api/3/projectCategory
| Flag | Type | Required | Description |
|---|---|---|---|
--body | string | No | request body (JSON string, @file, or - for stdin) |
Example:
bash
jr projectCategory create-project-categoryget-all-project-categories
Get all project categories
Returns all project categories.
Permissions required: Permission to access Jira.
GET /rest/api/3/projectCategory
Example:
bash
jr projectCategory get-all-project-categoriesget-project-category-by-id
Get project category by ID
Returns a project category.
Permissions required: Permission to access Jira.
GET /rest/api/3/projectCategory/{id}
| Flag | Type | Required | Description |
|---|---|---|---|
--id | string | Yes | The ID of the project category. |
Example:
bash
jr projectCategory get-project-category-by-id --id <id>remove-project-category
Delete project category
Deletes a project category.
Permissions required: Administer Jira global permission.
DELETE /rest/api/3/projectCategory/{id}
| Flag | Type | Required | Description |
|---|---|---|---|
--id | string | Yes | ID of the project category to delete. |
Example:
bash
jr projectCategory remove-project-category --id <id>update-project-category
Update project category
Updates a project category.
Permissions required: Administer Jira global permission.
PUT /rest/api/3/projectCategory/{id}
| Flag | Type | Required | Description |
|---|---|---|---|
--body | string | No | request body (JSON string, @file, or - for stdin) |
--id | string | Yes |
Example:
bash
jr projectCategory update-project-category --id <id>