This feature is currently in open beta. We are actively improving it based on
your feedback. If you encounter any issues or have suggestions, please share
them on our Discord community or reach out to
our support team.
Issue Planner is available for GitLab Cloud only. Self-hosted GitLab
instances are not yet supported.
Prerequisites
Webhook Configuration
For Issue Planner to work, your GitLab webhook must include the Issues events trigger. If you recently installed CodeRabbit, this trigger is automatically configured for you. No additional setup is required. If you installed CodeRabbit before Issue Planner was available, you need to manually add the “Issues events” trigger to your webhook: Go to Settings → Webhooks in your GitLab project or group, edit the webhook pointing tohttps://coderabbit.ai/gitlabHandler, enable Issues events under Trigger, and save.
Initiating Planning
Manual Planning
CodeRabbit Command
Comment
@coderabbitai plan on any GitLab Issue to generate a plan.Auto-Planning (Recommended)
Automatically generate plans when specific labels are added to issues.- Using configuration file
- Using the Web Interface
Label Matching Rules
| Configuration | Behavior |
|---|---|
Inclusion only (e.g., feature) | Only plans issues with at least one matching label |
Exclusion only (e.g., !wip) | Plans all issues except those with excluded labels |
Mixed (e.g., feature, !wip) | Plans issues that have an inclusion label AND don’t have any exclusion labels |
Exclusion labels (starting with
!) always take priority over inclusion
labels.Viewing and Refining Plans
Once a Coding Plan is generated, CodeRabbit posts the full plan as a comment on the issue.Chatting about Your Plan
Reply to the Coding Plan comment on the issue to:- Ask questions about the plan or the codebase
- Request changes to specific tasks or phases
- Challenge design choices and provide additional context
- Get clarification on implementation details
Re-planning
Once asked to make changes, CodeRabbit will respond to your comment and update the plan accordingly. You can also comment@coderabbitai plan again on the issue to regenerate the plan from scratch.
Handing Off to a Coding Agent
Copy the agentic prompts from the Coding Plan comment on the issue, and paste them into your preferred coding agent (Claude Code, Cursor, GitHub Copilot, etc.). Alternatively, if your coding agent can access GitLab directly (for example, through the GitLab MCP), you can simply ask it tofetch the issue by its number and execute CodeRabbit's plan.