task
cancel
Cancel task
Cancels a task.
Permissions required: either of:
- Administer Jira global permission.
- Creator of the task.
POST /rest/api/3/task/{taskId}/cancel
| Flag | Type | Required | Description |
|---|---|---|---|
--taskId | string | Yes | The ID of the task. |
Example:
bash
jr task cancel --taskId <taskId>get
Get task
Returns the status of a long-running asynchronous task.
When a task has finished, this operation returns the JSON blob applicable to the task. See the documentation of the operation that created the task for details. Task details are not permanently retained. As of September 2019, details are retained for 14 days although this period may change without notice.
Deprecation notice: The required OAuth 2.0 scopes will be updated on June 15, 2024.
read:jira-work
Permissions required: either of:
- Administer Jira global permission.
- Creator of the task.
GET /rest/api/3/task/{taskId}
| Flag | Type | Required | Description |
|---|---|---|---|
--taskId | string | Yes | The ID of the task. |
Example:
bash
jr task get --taskId <taskId>