Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add tool for project fields and items#1145

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JoannaaKL merged 14 commits intomainfromadd-discussion-tools
Sep 29, 2025
Merged

Conversation

JoannaaKL
Copy link
Contributor

@JoannaaKLJoannaaKL commentedSep 26, 2025
edited
Loading

This pr adds:

  • get_project_field tool for user and org
  • get_project_item tool for user and org
  • list_project_items tool for user and org

Updates:

  • projectNumber tool param toproject_number

After this PR is merged last chunk of project tools to be added are:

  • add_project_item
  • delete_project_item
  • update_project_item

It's worth noting that we are returning minimal project v2 and not the full response.
Implements#44

@JoannaaKLJoannaaKL marked this pull request as ready for reviewSeptember 26, 2025 13:07
@JoannaaKLJoannaaKL requested a review froma team as acode ownerSeptember 26, 2025 13:07
@CopilotCopilotAI review requested due to automatic review settingsSeptember 26, 2025 13:07
Copy link
Contributor

@CopilotCopilotAI 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

Adds a newget_project_field tool for retrieving specific project fields from GitHub projects for both users and organizations. This PR implements issue#44 by creating functionality to fetch individual project field details by field ID.

  • ImplementsGetProjectField function with support for user and org projects
  • Adds comprehensive test coverage for the new tool including error cases
  • Updates existinglist_project_fields tool to use correct numeric type for project numbers

Reviewed Changes

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

Show a summary per file
FileDescription
pkg/github/projects.goAdds GetProjectField function and fixes projectNumber type in ListProjectFields
pkg/github/projects_test.goAdds comprehensive test cases for GetProjectField tool
pkg/github/toolsnaps/get_project_field.snapTool snapshot for new get_project_field tool
pkg/github/toolsnaps/list_project_fields.snapUpdated snapshot reflecting projectNumber type change
README.mdUpdated documentation to reflect projectNumber type change

Tip: Customize your code reviews with copilot-instructions.md.Create the file orlearn how to get started.

@JoannaaKLJoannaaKL changed the titleAdd get project fields toolAdd get project field toolSep 26, 2025
@JoannaaKLJoannaaKL marked this pull request as draftSeptember 26, 2025 14:12
@JoannaaKLJoannaaKL changed the titleAdd get project field toolAdd get_project_field toolSep 26, 2025
@JoannaaKLJoannaaKL marked this pull request as ready for reviewSeptember 26, 2025 15:21
@JoannaaKLJoannaaKL changed the titleAdd get_project_field toolAdd tool for project fields and itemsSep 29, 2025
kerobbi
kerobbi previously approved these changesSep 29, 2025
Copy link
Contributor

@kerobbikerobbi left a comment

Choose a reason for hiding this comment

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

Just a non blocking nit, everything else looks solid!

@JoannaaKLJoannaaKL merged commit0885601 intomainSep 29, 2025
16 checks passed
@JoannaaKLJoannaaKL deleted the add-discussion-tools branchSeptember 29, 2025 13:43
nickytonline pushed a commit to nickytonline/github-mcp-http that referenced this pull requestOct 4, 2025
* Add get project fields tool* Data types* Docs* Update projectNumber's type* Add list_project_items tool* Add get_project_item tool* Return minimal project* Remove unused per_page
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@kerobbikerobbikerobbi approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@JoannaaKL@kerobbi

[8]ページ先頭

©2009-2025 Movatter.jp