feat: implement manage work item link handler#36
Merged
Tiberriver256 merged 1 commit intomainfrom Mar 31, 2025
Merged
Conversation
Add feature to manage work item links Allows adding, removing, and updating links between work items
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 introduces a new feature for managing work item links in Azure DevOps, including the addition of handlers, schemas, and tests. The most important changes are summarized below:
New Feature: Manage Work Item Links
src/features/work-items/manage-work-item-link/feature.ts: Implemented themanageWorkItemLinkfunction to add, remove, or update links between work items, including error handling and validation.src/features/work-items/manage-work-item-link/schema.ts: AddedManageWorkItemLinkSchemato define the schema for managing work item links.src/server.ts: Integrated themanage_work_item_linkhandler into the server, including schema validation and request handling. [1] [2] [3]Documentation Updates
README.md: Updated the documentation to include the newmanage_work_item_linkfunctionality.project-management/task-management/done.md: Documented the completion of themanage_work_item_linktask, including implementation details and sub-tasks.Testing
src/features/work-items/manage-work-item-link/feature.spec.unit.ts: Added unit tests for themanageWorkItemLinkfunction to verify correct behavior for adding, removing, and updating links.src/features/work-items/manage-work-item-link/feature.spec.int.ts: Added integration tests for themanageWorkItemLinkfunction to ensure it works correctly with the Azure DevOps API.These changes provide a comprehensive and tested implementation for managing work item links in Azure DevOps, enhancing the project's functionality and documentation.
#34