[FEATURE] GitHub Issue Assignment Auto-Trigger for Claude Code Web UI
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
When using Claude Code Web UI (claude.ai/code), there's no way to automatically trigger a session from GitHub issue assignments. The current workflow requires manual duplication of effort:
Current painful workflow:
- Create a detailed issue in GitHub with bug description/feature requirements
- Open Claude Code Web UI
- Select the repository
- Manually re-type or copy-paste the same issue description that already exists in GitHub
- Claude works on it and creates a PR
- Manually add the issue reference to the PR (e.g., "Fixes #123")
What I want:
- Create an issue in GitHub
- Assign issue to
@claude(or add a label likeclaude-code) - Claude Code Web UI automatically picks up the issue and starts a session
- Claude implements the fix and creates a PR **with the issue number automatically
Proposed Solution
Add GitHub webhook integration to Claude Code Web UI that:
- Listens for issue assignment events - When an issue is assigned to a configured user (e.g.,
claudeorclaude-bot), automatically start a Claude Code session - Auto-populates the task context - Pull the issue title, description, labels, and comments directly into the session
- Links PRs to issues automatically - When Claude creates a PR, include
Fixes #<issue-number>in the PR description - Shows pending issues in the UI - Display a queue/notification of assigned issues waiting for action
Suggested Implementation
┌─────────────────┐ ┌──────────────────────┐ ┌─────────────────┐
│ GitHub Issue │ │ Anthropic Cloud │ │ Claude Code │
│ (assigned to │ ──────► │ Webhook Handler │ ──────► │ Web UI Session │
│ @claude) │ │ │ │ (auto-started) │
└─────────────────┘ └──────────────────────┘ └─────────────────┘
│
▼
┌──────────────────────┐
│ Issue context auto- │
│ loaded into session │
└──────────────────────┘
Configuration Options (in Claude Code settings)
- Trigger method: Issue assignment / Label added / Both
- Assignee username:
claude(customizable) - Label trigger:
claude-code(customizable) - Auto-start session: Yes/No (could show notification instead)
- Repository allowlist: Only trigger for specific repos
Alternative Solutions
| Alternative | Why It's Not Ideal |
|-------------|-------------------|
| Claude Code GitHub Action | Runs in CI environment, not the Web UI. Different UX, no interactive session. |
| Copy-paste issue URL | Still requires manual action. Claude can read the issue but you have to trigger it. |
| Use CLI with claude -p | Requires terminal access, not available on mobile/web-only workflows. |
| Manual copy-paste | Duplicates effort, easy to miss details from comments, no auto-linking. |
Priority
Medium - Would be very helpful
Feature Category
Other
Use Case Example
- Solo developer workflow: Create issues for myself, assign to Claude, come back to review PRs
- Team workflow: Product manager creates issues, assigns to Claude for initial implementation, developer reviews
- Bug triage: Automatically have Claude attempt fixes for bugs labeled
good-first-issueorclaude-can-fix - Mobile workflow: Create issues from GitHub mobile app, Claude works on them, review PRs later
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗