Allison reports that developers can now assign issues to GitHub Copilot via both GraphQL and REST APIs, providing flexible automation options through clear API documentation.

Assign Issues to GitHub Copilot Using the API

Developers can now streamline their project management by assigning issues directly to GitHub Copilot through both GraphQL and REST API endpoints. This enhancement allows for greater automation and integration with Copilot’s capabilities in repository workflows.

Supported APIs and Mutations

GraphQL Support

  • updateIssue: Update issue details and assignments. (Docs)
  • createIssue: Create new issues and assign them immediately. (Docs)
  • addAssigneesToAssignable: Add Copilot as an assignee to existing issues. (Docs)
  • replaceActorsForAssignable: Replace current assignees with Copilot. (Docs)
  • All requests require the header: GraphQL-Features: issues_copilot_assignment_api_support

REST API Support

Configuration Options

  • Target repository and base branch selection for precise issue assignment workflows.
  • Custom instructions and agent setups to extend Copilot’s functionality.

Community and Documentation

Developers can leverage these features to automate project management, customize workflows, and integrate Copilot more deeply into team processes.

This post appeared first on “The GitHub Blog”. Read the entire article here