You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GitHub supports assigning issues to Copilot using the REST API, enabling automated workflows to assign issues for Copilot-driven resolution. This capability was announced on December 3, 2025.
The module already has issue management functions that interact with the assignees parameter on issues, but there is no documentation, examples, or dedicated helper for the Copilot assignment workflow.
Request
The module should support assigning issues to Copilot through the existing issue management functions. The relevant REST API endpoints that accept Copilot as an assignee are:
Endpoint
Description
Documentation
POST /repos/{owner}/{repo}/issues/{issue_number}/assignees
GraphQL support also exists (requiring header GraphQL-Features: issues_copilot_assignment_api_support), but this issue focuses only on REST API support.
Technical decisions
Approach: This primarily requires documentation and examples rather than new functions. The existing issue functions already pass the assignees parameter to the API. The main work is verifying that Copilot's assignee identifier works correctly and documenting the pattern.
Copilot assignee identifier: Determine the exact string used to assign Copilot (likely copilot or a specific bot account name). This needs to be verified against the API documentation.
Optional helper: Consider whether a -AssignCopilot switch parameter on issue functions would add value, or whether documenting the assignee string is sufficient. Given the principle of not over-engineering, documentation with examples is the recommended approach.
Test approach: Integration test that assigns Copilot to a test issue and verifies the assignment via Get-GitHubIssue (or equivalent).
Implementation plan
Documentation
Verify the exact Copilot assignee identifier string against the API
Add examples showing Copilot assignment in issue function help blocks
Context
GitHub supports assigning issues to Copilot using the REST API, enabling automated workflows to assign issues for Copilot-driven resolution. This capability was announced on December 3, 2025.
The module already has issue management functions that interact with the
assigneesparameter on issues, but there is no documentation, examples, or dedicated helper for the Copilot assignment workflow.Request
The module should support assigning issues to Copilot through the existing issue management functions. The relevant REST API endpoints that accept Copilot as an assignee are:
POST /repos/{owner}/{repo}/issues/{issue_number}/assigneesassigneesarrayPOST /repos/{owner}/{repo}/issuesassigneesarrayPATCH /repos/{owner}/{repo}/issues/{issue_number}assigneesarrayAll three endpoints accept an
assigneesparameter (array of strings) where Copilot can be included. Constraints:What is expected
Acceptance criteria
assigneesparameter on issue functionsNote
GraphQL support also exists (requiring header
GraphQL-Features: issues_copilot_assignment_api_support), but this issue focuses only on REST API support.Technical decisions
Approach: This primarily requires documentation and examples rather than new functions. The existing issue functions already pass the
assigneesparameter to the API. The main work is verifying that Copilot's assignee identifier works correctly and documenting the pattern.Copilot assignee identifier: Determine the exact string used to assign Copilot (likely
copilotor a specific bot account name). This needs to be verified against the API documentation.Optional helper: Consider whether a
-AssignCopilotswitch parameter on issue functions would add value, or whether documenting the assignee string is sufficient. Given the principle of not over-engineering, documentation with examples is the recommended approach.Test approach: Integration test that assigns Copilot to a test issue and verifies the assignment via
Get-GitHubIssue(or equivalent).Implementation plan
Documentation
Tests
assigneesparameter