{
  "info": {
    "_postman_id": "e697031d-aa87-4b3a-80b4-3c9e0c71178d",
    "name": "Atlassian rest/api/3/task/",
    "description": "Needs description.\n\nContact Support:\n Email: ecosystem@atlassian.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-06-05T15:08:53.000Z",
    "updatedAt": "2026-06-05T15:08:53.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-e697031d-aa87-4b3a-80b4-3c9e0c71178d"
  },
  "item": [
    {
      "name": "rest",
      "item": [
        {
          "name": "api",
          "item": [
            {
              "name": "3",
              "item": [
                {
                  "name": "task",
                  "item": [
                    {
                      "name": "{taskId}",
                      "item": [
                        {
                          "name": "cancel",
                          "item": [
                            {
                              "name": "Atlassian Cancel Task",
                              "id": "6ce658b1-4b6d-4843-8a9e-736c99a63fbd",
                              "protocolProfileBehavior": {
                                "disableBodyPruning": true
                              },
                              "request": {
                                "method": "POST",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/rest/api/3/task/:taskId/cancel",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "rest",
                                    "api",
                                    "3",
                                    "task",
                                    ":taskId",
                                    "cancel"
                                  ],
                                  "variable": [
                                    {
                                      "id": "e6916eaa-a3ec-4b01-adbf-0fdb74a9fc38",
                                      "key": "taskId",
                                      "value": "<string>",
                                      "description": "(Required) The ID of the task."
                                    }
                                  ]
                                },
                                "description": "Cancels a task.<br><br>**[Permissions](#permissions) required:** either of:<br><br> *  *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).<br> *  Creator of the task."
                              },
                              "response": [
                                {
                                  "id": "aa0762c0-38b9-4584-912d-e513c7360f2c",
                                  "name": "Returned if the request is successful.",
                                  "originalRequest": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/rest/api/3/task/:taskId/cancel",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "rest",
                                        "api",
                                        "3",
                                        "task",
                                        ":taskId",
                                        "cancel"
                                      ],
                                      "variable": [
                                        {
                                          "key": "taskId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Accepted",
                                  "code": 202,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "{}",
                                  "createdAt": "2026-06-05T15:08:53.000Z",
                                  "updatedAt": "2026-06-05T15:08:53.000Z",
                                  "uid": "35240-aa0762c0-38b9-4584-912d-e513c7360f2c"
                                },
                                {
                                  "id": "4081c645-02f4-4641-826b-6a776cb19c4d",
                                  "name": "Returned if cancellation of the task is not possible.",
                                  "originalRequest": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/rest/api/3/task/:taskId/cancel",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "rest",
                                        "api",
                                        "3",
                                        "task",
                                        ":taskId",
                                        "cancel"
                                      ],
                                      "variable": [
                                        {
                                          "key": "taskId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Bad Request",
                                  "code": 400,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "[\n  \"<string>\",\n  \"<string>\"\n]",
                                  "createdAt": "2026-06-05T15:08:53.000Z",
                                  "updatedAt": "2026-06-05T15:08:53.000Z",
                                  "uid": "35240-4081c645-02f4-4641-826b-6a776cb19c4d"
                                },
                                {
                                  "id": "2af4854b-c3bf-4e55-9b86-26e1a816a5c4",
                                  "name": "Returned if the authentication credentials are incorrect or missing.",
                                  "originalRequest": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/rest/api/3/task/:taskId/cancel",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "rest",
                                        "api",
                                        "3",
                                        "task",
                                        ":taskId",
                                        "cancel"
                                      ],
                                      "variable": [
                                        {
                                          "key": "taskId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Unauthorized",
                                  "code": 401,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "[\n  \"<string>\",\n  \"<string>\"\n]",
                                  "createdAt": "2026-06-05T15:08:53.000Z",
                                  "updatedAt": "2026-06-05T15:08:53.000Z",
                                  "uid": "35240-2af4854b-c3bf-4e55-9b86-26e1a816a5c4"
                                },
                                {
                                  "id": "02fe0ef9-fa09-4370-8ea6-76b585b8b750",
                                  "name": "Returned if the user does not have the necessary permission.",
                                  "originalRequest": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/rest/api/3/task/:taskId/cancel",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "rest",
                                        "api",
                                        "3",
                                        "task",
                                        ":taskId",
                                        "cancel"
                                      ],
                                      "variable": [
                                        {
                                          "key": "taskId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Forbidden",
                                  "code": 403,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "[\n  \"<string>\",\n  \"<string>\"\n]",
                                  "createdAt": "2026-06-05T15:08:53.000Z",
                                  "updatedAt": "2026-06-05T15:08:53.000Z",
                                  "uid": "35240-02fe0ef9-fa09-4370-8ea6-76b585b8b750"
                                },
                                {
                                  "id": "acce5133-eb6c-473f-9d56-27ff696657d3",
                                  "name": "Returned if the task is not found.",
                                  "originalRequest": {
                                    "method": "POST",
                                    "header": [
                                      {
                                        "key": "Accept",
                                        "value": "application/json"
                                      }
                                    ],
                                    "url": {
                                      "raw": "{{baseUrl}}/rest/api/3/task/:taskId/cancel",
                                      "host": [
                                        "{{baseUrl}}"
                                      ],
                                      "path": [
                                        "rest",
                                        "api",
                                        "3",
                                        "task",
                                        ":taskId",
                                        "cancel"
                                      ],
                                      "variable": [
                                        {
                                          "key": "taskId"
                                        }
                                      ]
                                    }
                                  },
                                  "status": "Not Found",
                                  "code": 404,
                                  "_postman_previewlanguage": "json",
                                  "header": [
                                    {
                                      "key": "Content-Type",
                                      "value": "application/json"
                                    }
                                  ],
                                  "cookie": [],
                                  "responseTime": null,
                                  "body": "[\n  \"<string>\",\n  \"<string>\"\n]",
                                  "createdAt": "2026-06-05T15:08:53.000Z",
                                  "updatedAt": "2026-06-05T15:08:53.000Z",
                                  "uid": "35240-acce5133-eb6c-473f-9d56-27ff696657d3"
                                }
                              ],
                              "createdAt": "2026-06-05T15:08:53.000Z",
                              "updatedAt": "2026-06-05T15:08:53.000Z",
                              "uid": "35240-6ce658b1-4b6d-4843-8a9e-736c99a63fbd"
                            }
                          ],
                          "id": "6324d1d5-ff3f-4913-8ed7-fa82a656d7f7",
                          "createdAt": "2026-06-05T15:08:53.000Z",
                          "updatedAt": "2026-06-05T15:08:53.000Z",
                          "uid": "35240-6324d1d5-ff3f-4913-8ed7-fa82a656d7f7"
                        },
                        {
                          "name": "Atlassian Get Task",
                          "id": "b84d6a68-8e63-429e-80cf-daab3d59fde3",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "application/json"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/rest/api/3/task/:taskId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rest",
                                "api",
                                "3",
                                "task",
                                ":taskId"
                              ],
                              "variable": [
                                {
                                  "id": "6a97254e-28c4-4333-b974-792c87dd7ca9",
                                  "key": "taskId",
                                  "value": "<string>",
                                  "description": "(Required) The ID of the task."
                                }
                              ]
                            },
                            "description": "Returns the status of a [long-running asynchronous task](#async).<br><br>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.<br><br>**Deprecation notice:** The required OAuth 2.0 scopes will be updated on June 15, 2024.<br><br> *  `read:jira-work`<br><br>**[Permissions](#permissions) required:** either of:<br><br> *  *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).<br> *  Creator of the task."
                          },
                          "response": [
                            {
                              "id": "7bfe55fe-fb8a-4be3-bc67-ac287e31b1c4",
                              "name": "Returned if the request is successful.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [
                                  {
                                    "key": "Accept",
                                    "value": "application/json"
                                  }
                                ],
                                "url": {
                                  "raw": "{{baseUrl}}/rest/api/3/task/:taskId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "rest",
                                    "api",
                                    "3",
                                    "task",
                                    ":taskId"
                                  ],
                                  "variable": [
                                    {
                                      "key": "taskId"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "json",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "application/json"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"elapsedRuntime\": \"<long>\",\n  \"id\": \"<string>\",\n  \"lastUpdate\": \"<long>\",\n  \"progress\": \"<long>\",\n  \"self\": \"<uri>\",\n  \"status\": \"COMPLETE\",\n  \"submitted\": \"<long>\",\n  \"submittedBy\": \"<long>\",\n  \"description\": \"<string>\",\n  \"finished\": \"<long>\",\n  \"message\": \"<string>\",\n  \"result\": {\n    \"description\": \"The result of the task execution.\"\n  },\n  \"started\": \"<long>\"\n}",
                              "createdAt": "2026-06-05T15:08:53.000Z",
                              "updatedAt": "2026-06-05T15:08:53.000Z",
                              "uid": "35240-7bfe55fe-fb8a-4be3-bc67-ac287e31b1c4"
                            },
                            {
                              "id": "27d5c88c-4993-412e-9456-d378d6099cb4",
                              "name": "Returned if the authentication credentials are incorrect or missing.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [],
                                "url": {
                                  "raw": "{{baseUrl}}/rest/api/3/task/:taskId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "rest",
                                    "api",
                                    "3",
                                    "task",
                                    ":taskId"
                                  ],
                                  "variable": [
                                    {
                                      "key": "taskId"
                                    }
                                  ]
                                }
                              },
                              "status": "Unauthorized",
                              "code": 401,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T15:08:53.000Z",
                              "updatedAt": "2026-06-05T15:08:53.000Z",
                              "uid": "35240-27d5c88c-4993-412e-9456-d378d6099cb4"
                            },
                            {
                              "id": "a4c099eb-663d-4b7f-881b-ba1b6d2ae9c8",
                              "name": "Returned if the user does not have the necessary permission.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [],
                                "url": {
                                  "raw": "{{baseUrl}}/rest/api/3/task/:taskId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "rest",
                                    "api",
                                    "3",
                                    "task",
                                    ":taskId"
                                  ],
                                  "variable": [
                                    {
                                      "key": "taskId"
                                    }
                                  ]
                                }
                              },
                              "status": "Forbidden",
                              "code": 403,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T15:08:53.000Z",
                              "updatedAt": "2026-06-05T15:08:53.000Z",
                              "uid": "35240-a4c099eb-663d-4b7f-881b-ba1b6d2ae9c8"
                            },
                            {
                              "id": "46cec545-5a18-4c50-b36d-d7af3478c5b0",
                              "name": "Returned if the task is not found.",
                              "originalRequest": {
                                "method": "GET",
                                "header": [],
                                "url": {
                                  "raw": "{{baseUrl}}/rest/api/3/task/:taskId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "rest",
                                    "api",
                                    "3",
                                    "task",
                                    ":taskId"
                                  ],
                                  "variable": [
                                    {
                                      "key": "taskId"
                                    }
                                  ]
                                }
                              },
                              "status": "Not Found",
                              "code": 404,
                              "_postman_previewlanguage": "text",
                              "header": [],
                              "cookie": [],
                              "responseTime": null,
                              "body": null,
                              "createdAt": "2026-06-05T15:08:53.000Z",
                              "updatedAt": "2026-06-05T15:08:53.000Z",
                              "uid": "35240-46cec545-5a18-4c50-b36d-d7af3478c5b0"
                            }
                          ],
                          "createdAt": "2026-06-05T15:08:53.000Z",
                          "updatedAt": "2026-06-05T15:08:53.000Z",
                          "uid": "35240-b84d6a68-8e63-429e-80cf-daab3d59fde3"
                        }
                      ],
                      "id": "fad38d9c-4fd1-44e5-ad87-64f7981e4cf7",
                      "createdAt": "2026-06-05T15:08:53.000Z",
                      "updatedAt": "2026-06-05T15:08:53.000Z",
                      "uid": "35240-fad38d9c-4fd1-44e5-ad87-64f7981e4cf7"
                    }
                  ],
                  "id": "10a2cdd3-57db-4ef5-afc2-8e8bd19bfff4",
                  "createdAt": "2026-06-05T15:08:53.000Z",
                  "updatedAt": "2026-06-05T15:08:53.000Z",
                  "uid": "35240-10a2cdd3-57db-4ef5-afc2-8e8bd19bfff4"
                }
              ],
              "id": "70bebd77-e3b9-4ec6-9db3-5a37c8191a84",
              "createdAt": "2026-06-05T15:08:53.000Z",
              "updatedAt": "2026-06-05T15:08:53.000Z",
              "uid": "35240-70bebd77-e3b9-4ec6-9db3-5a37c8191a84"
            }
          ],
          "id": "0883c9f6-14d3-4a49-8a76-13294090c02c",
          "createdAt": "2026-06-05T15:08:53.000Z",
          "updatedAt": "2026-06-05T15:08:53.000Z",
          "uid": "35240-0883c9f6-14d3-4a49-8a76-13294090c02c"
        }
      ],
      "id": "44956d85-2b54-4a3a-b409-8fccbbad83fc",
      "createdAt": "2026-06-05T15:08:53.000Z",
      "updatedAt": "2026-06-05T15:08:53.000Z",
      "uid": "35240-44956d85-2b54-4a3a-b409-8fccbbad83fc"
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://your-domain.atlassian.net"
    }
  ]
}