Add support for filtering, viewing, and updating GitHub Issue fields and custom project fields
- 主要语言
- 没有语言数据
- 星标
- 2.1k
- 派生
- 153
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Feature summary
Add native support for filtering issues by custom fields, as well as viewing and updating GitHub Issue fields—including built-in fields and custom project fields (such as Iteration, Estimate, Single Select, Date, Number, and Status)—directly from the issue view and CLI context within the GitHub Copilot interface.
### What problem are you trying to solve?
When managing or triaging work via GitHub Copilot, developers cannot easily query, search, or filter issues based on custom project fields. Additionally, interaction within the issue details view is limited to default issue attributes (title, description, labels, assignees, and milestones), leaving no way to filter by or modify custom field values directly.
Modern development teams rely on custom Issue Fields (e.g., Sprint/Iteration, Story Points/Estimates, Severity, Risk, or Target Release) to organize backlogs.
Without filter and field support in Copilot:
* **Inability to Filter:** Developers cannot prompt Copilot with queries like *"List all issues in Current Sprint with High Severity"* because Copilot lacks filtering capabilities for custom project fields.
* **Context Loss:** Copilot cannot evaluate or reason about custom metadata displayed in issue details when summarizing or prioritizing issues.
* **Context Switching:** Developers must leave Copilot and open the GitHub web UI to filter issues by project fields or update metadata after inspecting an issue.
### Proposed solution
Integrate GitHub Issue Field filtering and modification into Copilot's core features:
1. **Filtering Support:** Enable users to filter issues using custom project field criteria (e.g., `field:Estimate>5`, `status:"In Progress"`, or `iteration:"Sprint 12"`) through Copilot prompts and commands.
2. **Direct Edit from Issue Details:** Enable users to view and update standard and custom issue fields directly within the issue details context generated by Copilot.
3. **Read & Context Retrieval:** Fetch and extract custom field metadata alongside standard issue details via the GitHub GraphQL API (`ProjectV2` / `fieldValues`).
4. **Write & Manipulation:** Provide actions/commands to update field values on the fly (e.g., updating `Status` to `In Progress` or setting `Estimate = 3`).
5. **Schema Awareness:** Inspect available custom fields for a repository or project board so Copilot can validate filters and present correct allowed values for edits.
### Workflow impact
* **Precise Issue Discovery:** Developers can instantly query and filter issues based on sprint cycles, effort estimates, or custom priority tags directly from their terminal or IDE.
* **Streamlined In-Context Edits:** Developers reviewing issue details via Copilot can update field values immediately without switching context to a web browser.
* **Faster Backlog Triage:** Enables seamless workflows like *"Filter issues assigned to me for Sprint 4, show details for issue #12, and update its severity to High."*
* **Reduced Friction:** Keeps project planning data synchronized with real-time developer activity directly inside the terminal/IDE workspace.
### Installation context
* **Product/Target:** GitHub Copilot CLI / GitHub Copilot App
* **Environments:** Terminal environments via GitHub CLI (`gh copilot`), IDE integrations (VS Code, JetBrains), and automated workflow scripts.
### Additional context
* **GitHub Issue Fields Documentation:** [https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/adding-and-managing-issue-fields](https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/adding-and-managing-issue-fields)
* **GitHub App Repository:** [https://github.com/github/app](https://github.com/github/app)
* **Technical Note:** Filtering and updates can leverage GitHub’s GraphQL API (`projectV2` queries and `updateProjectV2ItemFieldValue` mutations) to filter project items by field values and safely mutate them.
贡献指南
调研方向
该 payload 没有指明任何仓库文件、测试或入口点;先定位 issue-details 和 CLI 查询/操作界面,然后追踪它们与 GitHub GraphQL 的集成。完成的标准是:用户能够发现字段 schema、按自定义字段筛选 issues、查看字段值,并在所述的各个 Copilot 上下文中更新受支持的内置字段和项目字段。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github, graphql
- 领域
- api, cli, desktop
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100