Skip to main content
Glama

Azure DevOps MCP Server with PAT Authentication

by ennuiii

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

NameRequiredDescriptionDefault
projectIdYesThe project ID of the Azure DevOps project (note: project name is not valid).
pullRequestIdYesThe ID of the pull request to link to.
pullRequestProjectIdNoThe project ID containing the pull request. If not provided, defaults to the work item's project ID (for same-project linking).
repositoryIdYesThe ID of the repository containing the pull request. Do not use the repository name here, use the ID instead.
workItemIdYesThe ID of the work item to link to the pull request.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "projectId": { "description": "The project ID of the Azure DevOps project (note: project name is not valid).", "type": "string" }, "pullRequestId": { "description": "The ID of the pull request to link to.", "type": "number" }, "pullRequestProjectId": { "description": "The project ID containing the pull request. If not provided, defaults to the work item's project ID (for same-project linking).", "type": "string" }, "repositoryId": { "description": "The ID of the repository containing the pull request. Do not use the repository name here, use the ID instead.", "type": "string" }, "workItemId": { "description": "The ID of the work item to link to the pull request.", "type": "number" } }, "required": [ "projectId", "repositoryId", "pullRequestId", "workItemId" ], "type": "object" }

Other Tools from Azure DevOps MCP Server with PAT Authentication

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ennuiii/DevOpsMcpPAT'

If you have feedback or need assistance with the MCP directory API, please join our Discord server