From c7e2d445f825477cdf2a207c6458ad4997062ae7 Mon Sep 17 00:00:00 2001 From: Bram Gadeyne Date: Fri, 15 May 2026 14:20:50 +0200 Subject: [PATCH] Fix comment format in WorkItemTools.cs --- .../src/G5e.AzureDevOpsServerMCP.Tools/WorkItemTools.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dotnet/src/G5e.AzureDevOpsServerMCP.Tools/WorkItemTools.cs b/dotnet/src/G5e.AzureDevOpsServerMCP.Tools/WorkItemTools.cs index 7433cc00..4ca0b35e 100644 --- a/dotnet/src/G5e.AzureDevOpsServerMCP.Tools/WorkItemTools.cs +++ b/dotnet/src/G5e.AzureDevOpsServerMCP.Tools/WorkItemTools.cs @@ -69,10 +69,10 @@ public async Task GetWorkItemContext(string collection, string project, /// The Azure DevOps collection name /// The Azure DevOps project name or ID /// The numeric work item ID - /// The comment text to add (plain text or HTML formatting supported, e.g., "<b>text</b>") + /// The comment content to add. Azure DevOps stores comments as rich text (typically HTML), so formatting markup such as <div>, <br>, &nbsp;, <span>, lists, and related HTML elements may be present. /// JSON object with the created comment ID and URL [McpServerTool(Name = "wit_add_work_item_comment")] - [Description("Adds a comment to a work item in Azure DevOps. Supports plain text and HTML formatting (e.g., bold, italic).")] + [Description("Adds a comment to a work item in Azure DevOps. Comments are stored as rich text (typically HTML), and may include markup such as div, br, nbsp, spans, lists, and other formatting elements.")] public async Task AddWorkItemComment(string collection, string project, int workItemId, string comment) { try @@ -99,10 +99,10 @@ public async Task AddWorkItemComment(string collection, string project, /// The Azure DevOps project name or ID /// The numeric work item ID /// The ID of the comment to update - /// The updated comment text (plain text or HTML formatting supported, e.g., "<b>text</b>") + /// The updated comment content. Azure DevOps stores comments as rich text (typically HTML), so formatting markup such as <div>, <br>, &nbsp;, <span>, lists, and related HTML elements may be present. /// JSON object with the updated comment details [McpServerTool(Name = "wit_update_work_item_comment")] - [Description("Updates an existing comment on a work item in Azure DevOps. Supports plain text and HTML formatting (e.g., bold, italic).")] + [Description("Updates an existing comment on a work item in Azure DevOps. Comments are stored as rich text (typically HTML), and may include markup such as div, br, nbsp, spans, lists, and other formatting elements.")] public async Task UpdateWorkItemComment(string collection, string project, int workItemId, int commentId, string text) { try