How to assign issues to Copilot agent on GitHub Copilot
To assign issues to a Copilot agent, navigate to your GitHub repository's Issues tab, create or open an existing issue, and use the assignees section to select the Copilot agent from the dropdown menu. The Copilot agent will automatically analyze the issue and provide suggested solutions or code implementations.
Prerequisites
- GitHub Copilot subscription
- Repository with GitHub Copilot enabled
- Admin or maintainer access to the repository
- GitHub Issues feature enabled
Step-by-Step Instructions
Navigate to your GitHub repository
Access the Issues tab
Open or create an issue
Locate the Assignees section
Select the Copilot agent
@copilot or GitHub Copilot Bot. Click on it to assign the issue to the Copilot agent.Add Copilot-specific labels
copilot-assistance, ai-help, or automated-solution to help categorize the issue for better Copilot agent processing.Mention the Copilot agent in comments
@copilot followed by specific instructions or questions. For example: @copilot please analyze this bug and suggest a fix or @copilot implement the feature described above.Monitor Copilot agent response
Common Issues & Troubleshooting
Copilot agent not appearing in assignees list
Ensure GitHub Copilot is enabled for your repository and you have the necessary subscription. Check repository settings under Actions and Code security and analysis to verify Copilot is activated.
Copilot agent not responding to mentions
Verify that you're using the correct mention format @copilot and that the issue has sufficient detail. The agent may not respond to vague or incomplete issue descriptions.
Cannot assign Copilot agent due to permissions
Contact your repository administrator to ensure you have write or maintain permissions. Only users with appropriate access levels can assign issues to automated agents.
Copilot agent provides irrelevant suggestions
Improve your issue description with more specific technical details, expected outcomes, and relevant code context. Use clear labels and provide step-by-step reproduction instructions for bugs.