claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Linear Integration: Assign issues to Claude Code to trigger cloud agent sessions

Open ian-klopper opened this issue 1 month ago • 3 comments

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

Currently there's no way to trigger Claude Code sessions from external issue trackers. Developers using Linear for task management must manually start Claude Code sessions, copy issue context, and manage the workflow themselves. Cursor recently launched a Linear integration where assigning an issue to @Cursor automatically spins up a cloud agent that works on the task and creates a PR. This workflow doesn't exist for Claude Code.

Proposed Solution

  • Add Linear as a first-party integration:
  • Register Claude Code as an assignable agent in Linear workspaces
  • When assigned or mentioned (@Claude), automatically spin up a cloud session with the issue context
  • Pull issue description, comments, and linked references
  • Post progress updates back to Linear as comments
  • Create PR on completion and update issue status
  • Support Linear triage rules for auto-assignment to Claude

Alternative Solutions

  • Manually starting Claude Code sessions and copying issue details
  • Using webhooks + GitHub Actions to trigger claude -p with issue context (complex setup, no Linear status sync)
  • Building custom automation with Linear's API (significant development effort)

Priority

Medium - Would be very helpful

Feature Category

Other

Use Case Example

  • Developer triages a bug report in Linear, determines it's a small fix
  • Assigns the issue to @Claude or applies a label that triggers auto-assignment
  • Claude Code cloud session starts automatically with full issue context
  • Developer continues other work while agent runs in background
  • Agent posts progress updates to Linear comments
  • On completion, agent creates PR and marks issue ready for review
  • Developer reviews PR directly from Linear link

Additional Context

Cursor's Linear integration Linear's agent API Linear built a dedicated agent session API for this type of integration

ian-klopper avatar Dec 03 '25 01:12 ian-klopper