wit_link_work_item_to_pull_request
Link an Azure DevOps work item to a pull request by providing work item, repository, and pull request IDs to connect tracking and code changes.
Instructions
Link a work item to 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": {
"workItemId": "<workItemId>",
"repositoryId": "<repositoryId>",
"pullRequestId": "<pullRequestId>"
},
"name": "wit_link_work_item_to_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workItemId | Yes | Work item ID. | |
| repositoryId | Yes | Repository ID. | |
| pullRequestId | Yes | Pull request ID. |