create_pull_request_task
Create tasks on pull requests to track action items, with optional linking to comments for context.
Instructions
Create a task on a pull request, optionally linked to a comment.
Args: project_key: The project key. repo_slug: The repository slug. pr_id: The pull request ID. text: The task description. comment_id: Optional comment ID to attach the task to.
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": {
"project_key": "<project_key>",
"repo_slug": "<repo_slug>",
"pr_id": "<pr_id>",
"text": "<text>"
},
"name": "create_pull_request_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_key | Yes | ||
| repo_slug | Yes | ||
| pr_id | Yes | ||
| text | Yes | ||
| comment_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |