Skip to content

Add missing milestone to create_issue #88

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 4, 2025
Merged

Conversation

williammartin
Copy link
Collaborator

Description

Fixes #78

@Copilot Copilot AI review requested due to automatic review settings April 3, 2025 20:13
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for a missing milestone parameter in the create_issue functionality to fix an issue with milestone handling. Key changes include:

  • Adding "milestone" to the tool's input schema in tests.
  • Updating the mock issue to include a milestone value.
  • Incorporating an optional milestone parameter in the issue creation logic.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
pkg/github/issues_test.go Adds assertions and test cases for milestone.
pkg/github/issues.go Integrates optional milestone parameter into issue creation.

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

@@ -261,6 +261,9 @@ func createIssue(client *github.Client, t translations.TranslationHelperFunc) (t
},
),
),
mcp.WithNumber("milestone",
mcp.Description("New milestone number"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it new or can it be an existing milestone number that attaches the new issue to the existing milestone?

Base automatically changed from wm/boundaries to main April 3, 2025 21:34
@williammartin williammartin force-pushed the wm/missing-milestone branch from b5f7301 to 254be46 Compare April 4, 2025 12:16
@williammartin williammartin force-pushed the wm/missing-milestone branch from 254be46 to 135754a Compare April 4, 2025 12:18
@williammartin williammartin merged commit 95c7b0a into main Apr 4, 2025
16 checks passed
@williammartin williammartin deleted the wm/missing-milestone branch April 4, 2025 12:47
manian0430 pushed a commit to ChrisLally/github-mcp-server that referenced this pull request Apr 12, 2025
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.

create_issue is missing milestone
2 participants