Linear

Move a Linear issue and the matching Hamster Brief, Task, or Initiative updates within seconds — and vice versa. Nobody has to ask "where's the source of truth?"

Overview

The Linear Connection links your Linear workspace to Hamster Studio. When two-way sync is enabled, Briefs, Tasks, and Initiatives in Hamster stay in lockstep with their counterparts in Linear — projects, issues, and initiatives. Update a Task status in Hamster and Linear reflects it. Reassign an issue in Linear and Hamster picks it up.

This is the leg of the loop that makes Hamster usable inside Teams already paying for Linear. Adopting Hamster's Brief and alignment surfaces does not require ripping out the existing tracker. The Team can keep doing standups in Linear while planning in Hamster, and the two stay aligned without anyone copy-pasting statuses.

The Connection uses OAuth. You authorise Hamster directly through Linear — no token to manage.

Two-Way Sync

New Linear Connections start with two-way sync disabled. This gives teams a safe setup path: connect for context first, then enable Task syncing when you're ready.

When two-way sync is enabled, Briefs, Tasks, and Initiatives stay synchronized in both directions:

  • Briefs ↔ Linear projects — Title, description, and status flow both ways. Hamster Brief status changes update the Linear project status; Linear project status changes update the Hamster Brief.
  • Tasks ↔ Linear issues — Title, description, status, priority, assignee, and due date all sync. The status mapping is bootstrapped automatically from your Linear Team's workflow states.
  • Initiatives ↔ Linear Initiatives — Title, description, status, target date, and the Initiative-to-Brief associations sync. Sub-Initiative parent/child relationships flow with intelligent fallback for Linear workspaces that don't support sub-Initiatives.

Changes propagate within seconds via webhooks.

What syncs bidirectionally

Entity / Field Hamster → Linear Linear → Hamster
Brief title and description Yes Yes
Brief status (project status) Yes Yes
Task title and description Yes Yes
Task status Yes Yes
Task priority Yes Yes
Task assignee Yes Yes
Task due date Yes Yes
Initiative title and description Yes Yes
Initiative status Yes Yes
Initiative target date Yes Yes
InitiativeBrief links Yes Yes
Sub-initiative hierarchy Yes Yes

Conflict resolution

When the same field is changed in both tools before either sync completes, Hamster uses last-writer-wins at the field level. The most recent change is applied and both tools converge to the same state. Tiptap document content (Brief and Initiative bodies) merges through Y.js so concurrent edits don't conflict.

A 5-second loop-prevention window plus per-event idempotency keys stop changes from echoing back and forth.

Assignee Sync

Assignees flow in both directions. When Linear sends an assignee Hamster doesn't know about, Hamster shows the external user's name with a placeholder avatar on the Task and notifies a teammate with invite permissions to invite that person to the workspace. Once they accept the invite, all pending assignments backfill onto their Hamster account automatically.

Hamster never auto-creates shadow user accounts. Every Hamster user is invited explicitly.

Tagged-Project Filtering

You can scope which Linear projects sync by tagging them with a label in Linear. Instead of syncing everything, add a specific tag and configure Hamster to only sync projects with that tag.

This is useful when your Linear workspace contains projects from multiple teams or Initiatives and you only want a subset flowing into Hamster.

To configure:

  1. Open the Linear Connection settings in Workspace Settings > Connections.
  2. Under Sync settings, enable tag-based filtering.
  3. Enter the tag name to filter by.

Only projects with the matching tag are synced. Adding the tag to a new project later picks it up automatically. Removing the tag drops the project out of scope.

Hamster-created Linear projects are automatically labeled, so a Brief delivered through Hamster always lands inside the configured scope.

What the AI Can Access

Beyond two-way sync, the Connection gives the AI read access to your full Linear workspace:

  • Teams — Linear teams and their configuration.
  • Projects — Projects within each team, with status and metadata.
  • Issues — Issues and sub-issues, including titles, descriptions, status, priority, and labels.
  • Comments — Comments on issues.
  • Attachments — Files and links attached to issues.
  • Users — Workspace members and their profiles.

The full workspace syncs on Connection and is available to the AI immediately. It refreshes through the same webhook stream that powers two-way sync.

How to Connect

  1. Go to Workspace Settings > Connections and click the Linear card.
  2. In the dialog, click Connect with Linear.
  3. You're redirected to Linear's authorization page.
  4. Review the requested permissions and click Authorize.
  5. You're returned to Hamster Studio. Choose whether to enable two-way sync or connect for AI context only.
  6. If enabling two-way sync, select the Linear team to sync with.

The Connection is named after your Linear workspace automatically.

Requirements for two-way sync

Two-way sync requires webhook creation in Linear. The user who authorises the Connection must have an Admin or Owner role in their Linear organisation. If the authorising user has a lower role, the Connection falls back to read-only mode and the sync toggle is disabled.

Sync Badges and Task Links

Tasks, Briefs, and Initiatives that have synced display a Linear badge with the external identifier (for example, LIN-123). Click the badge to jump straight to the Linear issue, project, or initiative.

Linear issues created from Hamster Plans are also linked back — the Linear issue description includes a reference to the originating Hamster Brief.

Status Mapping

Hamster maps Brief, Task, and Initiative states to the closest Linear workflow state when two-way sync is enabled. The initial mapping is bootstrapped from the Linear Team you choose during setup.

If Linear adds, renames, or removes workflow states later, Hamster reconciles the mapping during sync. Status changes still show through sync badges, so a teammate can see which Linear project, issue, or Initiative mirrors the Hamster object and open it directly.

Reconnect Without Losing Identity

Disconnecting and reconnecting Linear preserves sync identity. The original entity mappings are kept on a soft-delete tombstone, so when you reconnect the same workspace, Briefs and Tasks reattach to their existing Linear counterparts instead of creating duplicates.

Keeping Data Current

Two-way sync changes propagate automatically via webhooks — no manual re-sync is needed for Routine updates.

If your Linear workspace changes significantly (new teams, restructured projects, a major batch of issues added), trigger a manual reconciliation from the Connection settings. Quick Sync pulls the latest data and reconciles drift between Hamster and Linear.

Connection Health

Hamster surfaces Connection health in the Connection card and a dedicated detail sheet:

  • Overview — Status, sync Direction, last sync times, and counts of successful, failed, and skipped operations.
  • Logs — Operation history with timestamps, entity types, and direction. Outbound failures capture the wire payload for debugging.
  • Conflicts — Any pending field-level conflicts. Resolve them inline with Use Linear, Use Hamster, or a custom value.

If your Linear OAuth token needs reauthorisation, the card shows a reauth button — click it to refresh credentials without losing your sync state.

Tips

  • You can connect one Linear workspace per Hamster team. If your organisation uses multiple Linear workspaces, connect the one most relevant to the projects you run in this Hamster workspace.
  • Enable two-way sync when you want Linear to be your team's execution view while Hamster handles planning. Tasks flow from Brief to Plan to Linear without manual copying.
  • Linear works well alongside GitHub. The AI can correlate issues with the code changes that address them when both sources are connected.
  • Keep priority fields current in Linear. The AI uses them to understand what work is critical when answering questions like "what are the open issues in the Onboarding project?"
  • Status mapping is bootstrapped on Connection from your Linear workflow states. If you add new states later, the mapping auto-heals — no manual reconfiguration needed.

Related