Skip to content

feat: add workItemRefs param to createPullRequest#32

Open
cjwhitsitt wants to merge 1 commit into
RyanCardin15:mainfrom
cjwhitsitt:features/pr-create-work-items
Open

feat: add workItemRefs param to createPullRequest#32
cjwhitsitt wants to merge 1 commit into
RyanCardin15:mainfrom
cjwhitsitt:features/pr-create-work-items

Conversation

@cjwhitsitt

Copy link
Copy Markdown

Add optional workItemRefs parameter to the createPullRequest tool, allowing work items to be linked to a pull request at creation time using the ADO Git PR Create API's native workItemRefs field.

Changes:

  • Add workItemRefs?: number[] to CreatePullRequestParams interface
  • Map work item IDs to ResourceRef[] in GitService.createPullRequest
  • Register workItemRefs in the MCP Zod schema in index.ts

Add optional workItemRefs parameter to the createPullRequest tool,
allowing work items to be linked to a pull request at creation time
using the ADO Git PR Create API's native workItemRefs field.

Changes:
- Add workItemRefs?: number[] to CreatePullRequestParams interface
- Map work item IDs to ResourceRef[] in GitService.createPullRequest
- Register workItemRefs in the MCP Zod schema in index.ts

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant