-
Notifications
You must be signed in to change notification settings - Fork 14
Support filter parameters for getGithubIssues. #1477
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
base: master
Are you sure you want to change the base?
Conversation
Add design document for enhancing getGithubIssues() function with filter parameters (state, milestone, assignee, labels, etc.) while maintaining backward compatibility. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add support for GitHub API filter parameters: state, milestone, assignee, creator, mentioned, labels, sort, direction, since, type. All new parameters default to NULL for backward compatibility. The state parameter defaults to "all" to match existing behavior. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
There was a problem hiding this 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 pull request adds filter parameters to the getGithubIssues() function to enable filtering GitHub issues by state, labels, assignee, and other criteria supported by the GitHub API.
Changes:
- Added 9 new optional filter parameters (state, milestone, assignee, creator, mentioned, labels, sort, direction, since, type) to
getGithubIssues() - Updated function documentation with comprehensive parameter descriptions
- Added a planning document detailing the implementation approach and backward compatibility strategy
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/plans/2026-01-19-github-issues-filter.md | Planning document describing the problem, solution, parameters, implementation approach, and testing strategy |
| R/system.R | Updated getGithubIssues() function signature and implementation to support filter parameters with dynamic query building |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…4 in DESCRIPTION file Enhance getGithubIssues function by adding a helper function to resolve milestone titles to their corresponding numbers, allowing users to filter issues by milestone title or number. This improves usability when interacting with the GitHub API.
Updated the resolve_milestone function to implement pagination when fetching milestones from the GitHub API. This change ensures that all milestones, both open and closed, are retrieved beyond the initial limit of 100, improving the completeness of data fetched for users.
Description
Describe your fix here
Checklist
Make sure you have performed the following items before submitting this pull request.
If not, please describe the reason.