Implement work item creation tool and update capability matrix#7
Merged
Conversation
…ork item creation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds support for creating new work items in Azure DevOps via the .NET MCP server, filling a key functional gap. The implementation follows established patterns for tool definition, error handling, and service layering, and includes comprehensive test coverage and documentation. The new tool method allows clients to specify the collection, project, work item type, title, and an optional description, returning the created work item's ID, type, title, and URL in a JSON response.
New Work Item Creation Capability:
wit_work_item_write_createinWorkItemToolsto create work items with specified type, title, and optional description, returning a structured JSON result.Service and API Layer Enhancements:
IWorkItemContextServiceinterface and its implementations to includeCreateWorkItemAsync, which creates a new work item using Azure DevOps APIs and returns aCreateWorkItemResult. [1] [2] [3]Testing and Validation:
Documentation and Specification:
These changes enable programmatic work item creation in Azure DevOps Server environments, consistent with existing tool patterns and contracts.