Skip to content

Set up Linear integration

This guide shows you how to set up the Linear integration.

  • A Linear account with API access
  • A Linear API key with read/write permissions
  1. Navigate to Settings → Integrations
  2. Find Linear and click Connect
  3. Enter your Linear API key
  4. Click Verify — Control Center validates the key by calling the Linear API
  5. The key is stored securely in your system keychain
FeatureDescription
Bidirectional syncLocal tickets mirror to Linear and vice versa
Provider mappingTickets with provider: linear are synced to Linear
Status syncLocal status changes are pushed to Linear; Linear changes are pulled
Team mappingLinear teams map to Control Center workspaces

TicketSyncService and TicketRemoteSyncHandler handle bidirectional sync:

  • Periodically fetches tickets from Linear
  • Creates or updates local ticket mirrors
  • Maps Linear status to Control Center ticket status
  • Preserves the externalKey for round-tripping
  • Local ticket changes (status, title, description, assignee) are pushed to Linear
  • The workflow service stays free of infrastructure concerns
  • Sync is triggered after local mutations complete

Create a Linear ticket from Control Center

Section titled “Create a Linear ticket from Control Center”
  1. Create a ticket with Provider set to Linear
  2. The ticket is created locally and synced to Linear
  3. The Linear URL is stored on the ticket

Assignment works the same as local tickets:

  1. Assign the ticket to an agent
  2. The agent dispatches and works
  3. Status changes are synced back to Linear
  • Regenerate the key in Linear Settings → API
  • Update the key in Control Center Settings → Integrations
  • Check that the ticket’s provider is set to linear
  • Verify the workspace has Linear integration enabled
  • Check logs for sync errors