You can now assign issues to Copilot using both GraphQL and the REST API. You can also configure the target repository, base branch, custom instructions, and custom agents.

GraphQL support

You can assign issues to Copilot using the following mutations:

All requests must include this header:

GraphQL-Features: issues_copilot_assignment_api_support

REST API support

You can also assign issues to Copilot via the following REST API endpoints:

Join the community discussion to share your feedback or learn more in our documentation on assigning issues to Copilot.