Skip to content

task

cancel

Cancel task

Cancels a task.

Permissions required: either of:

POST /rest/api/3/task/{taskId}/cancel

FlagTypeRequiredDescription
--taskIdstringYesThe 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:

GET /rest/api/3/task/{taskId}

FlagTypeRequiredDescription
--taskIdstringYesThe ID of the task.

Example:

bash
jr task get --taskId <taskId>