wit_link_work_item_to_pull_request
Link a specific work item to an existing pull request in Azure DevOps using project, repository, and work item IDs for streamlined tracking and collaboration.
Instructions
Link a single work item to an existing pull request.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
projectId | Yes | The project ID of the Azure DevOps project (note: project name is not valid). | |
pullRequestId | Yes | The ID of the pull request to link to. | |
pullRequestProjectId | No | The project ID containing the pull request. If not provided, defaults to the work item's project ID (for same-project linking). | |
repositoryId | Yes | The ID of the repository containing the pull request. Do not use the repository name here, use the ID instead. | |
workItemId | Yes | The ID of the work item to link to the pull request. |