createPullRequestTask
Create a task on a Bitbucket pull request to track follow-up work. Specify content, state, and optionally attach it to a comment.
Instructions
Create a task on a pull request
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace": "<workspace>",
"repo_slug": "<repo_slug>",
"pull_request_id": "<pull_request_id>",
"content": "<content>"
},
"name": "createPullRequestTask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Initial task state | |
| comment | No | Optional comment ID to attach the task | |
| content | Yes | Task content | |
| repo_slug | Yes | Repository slug | |
| workspace | Yes | Bitbucket workspace name | |
| pull_request_id | Yes | Pull request ID |