{
"opencollection": "1.0.0",
"info": {
"name": "Atlassian Admin Account Tasks API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "Tasks",
"type": "folder"
},
"items": [
{
"info": {
"name": "Atlassian Create Task on Pull Request",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/tasks",
"params": [
{
"name": "pull_request_id",
"value": "",
"type": "path",
"description": "The id of the pull request."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
},
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This API endpoint allows you to create a new task on a specific pull request within a Bitbucket repository. By sending a POST request to the specified path with the workspace identifier, repository slug, and pull request ID, you can add actionable tasks or to-do items that need to be completed as part of the pull request review process. The endpoint is useful for tracking specific action items, code changes, or requirements that reviewers or contributors need to address before the pull request c"
},
{
"info": {
"name": "Atlassian Get Task on Pull Request",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/tasks/:task_id",
"params": [
{
"name": "pull_request_id",
"value": "",
"type": "path",
"description": "The id of the pull request."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
},
{
"name": "task_id",
"value": "",
"type": "path",
"description": "The ID of the task."
},
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This API operation retrieves detailed information about a specific task associated with a pull request in a Bitbucket repository. By providing the workspace identifier, repository slug, pull request ID, and task ID in the endpoint path, developers can fetch the task's current state, description, assignee information, creation date, and completion status. This is useful for tracking code review action items, follow-up work, or specific issues that need to be addressed within the context of a pull"
},
{
"info": {
"name": "Atlassian Update Task on Pull Request",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/tasks/:task_id",
"params": [
{
"name": "pull_request_id",
"value": "",
"type": "path",
"description": "The id of the pull request."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
},
{
"name": "task_id",
"value": "",
"type": "path",
"description": "The ID of the task."
},
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
}
],
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This API operation allows you to update an existing task associated with a specific pull request in a Bitbucket repository. By making a PUT request to this endpoint, you can modify task details such as its content, state, or other properties for a task identified by its unique task_id within a pull request specified by pull_request_id in a given repository (repo_slug) under a particular workspace. This is useful for managing code review checklists, action items, or follow-up tasks that need to b"
},
{
"info": {
"name": "Atlassian Delete Task on Pull Request",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/tasks/:task_id",
"params": [
{
"name": "pull_request_id",
"value": "",
"type": "path",
"description": "The id of the pull request."
},
{
"name": "repo_slug",
"value": "",
"type": "path",
"description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
},
{
"name": "task_id",
"value": "",
"type": "path",
"description": "The ID of the task."
},
{
"name": "workspace",
"value": "",
"type": "path",
"description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
}
],
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://auth.atlassian.com/authorize",
"accessTokenUrl": "https://auth.atlassian.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"docs": "This API operation allows you to delete a specific task associated with a pull request in a Bitbucket repository. By sending a DELETE request to the endpoint with the workspace identifier, repository slug, pull request ID, and task ID, you can permanently remove a task that was previously created on a pull request. This is useful for cleaning up completed tasks, removing tasks that were created in error, or managing the task list associated with code review workflows. The operation requires appr"
},
{
"info": {
"name": "Atlassian Get Asynchronously Converted Content Body From the Id or the Current Status of the Task",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/wiki/rest/api/contentbody/convert/async/:id",
"params": [
{
"name": "id",
"value": "",
"type": "path",
"description": "The asyncId of the macro task to get the converted body."
}
]
},
"docs": "This API endpoint retrieves the result of an asynchronous content body conversion operation in Atlassian Confluence using a unique task identifier. When content conversion is initiated asynchronously (such as converting between different markup formats like storage format, view format, or editor format), this GET operation allows you to check the current status of the conversion task and fetch the converted content once the operation is complete. The endpoint accepts the task ID as a path parame"
},
{
"info": {
"name": "Atlassian Get Task",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/rest/api/3/task/:taskId",
"params": [
{
"name": "taskId",
"value": "",
"type": "path",
"description": "The ID of the task."
}
]
},
"docs": "Returns the status of a [long-running asynchronous task](#async).
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-wor"
},
{
"info": {
"name": "Atlassian Cancel Task",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://api.atlassian.com/rest/api/3/task/:taskId/cancel",
"params": [
{
"name": "taskId",
"value": "",
"type": "path",
"description": "The ID of the task."
}
]
},
"docs": "Cancels a task.
**[Permissions](#permissions) required:** either of:
* *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg).
* Creator of the task."
}
]
}
],
"bundled": true
}