For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /docs/integration/linear.md.

Linear integration

The Linear integration brings Linear projects and Issues into Sharkly: bind a workspace, discover and preview projects, import them, and optionally link a Linear project to a Space as a sync link that keeps receiving changes. Open it from Integrations under Linear.

Connect a workspace

  1. Open Integrations and select Linear.
  2. Pick an authentication method: for OAuth, register the Callback URL shown in the dialog in your Linear OAuth app settings, enter its Client ID and Client Secret, and complete authorization in your browser; or switch to a personal API key.
  3. Confirm, and Sharkly validates the connection; a successful validation encrypts and saves an organization-level connection.

Create the personal API key in Linear under Settings → Security & access → Personal API keys. Linear is a fixed cloud API: the organization and the endpoint are derived from the token, so the bind form never asks for either, and there is no intranet proxy to choose.

One Linear organization holds one connection: binding the same organization again is refused — re-authorize the saved connection instead of creating a new one.

The connection is shared by the organization: every member uses this one Linear credential, and rotating or disabling it affects the whole organization's Linear integration. Keys are encrypted at rest; only the last four characters are shown afterwards. Rotate a key from Manage connection on the integration page instead of deleting and rebinding; completed imports and sync links are unaffected.

Self-hosted deployments without a public OAuth callback origin cannot complete browser OAuth; personal API keys remain available.

Import

The import wizard walks: confirm connection → choose a project → preview → map statuses and users → import options → confirm.

  1. Connection: confirm the saved credentials are usable.
  2. Scope: the wizard discovers the Linear projects the connection can read (organization → project → Issue); pick one and the target Space. Pasting a project ID also works.
  3. Preview: read and preview the Issues in that project to confirm the range; retry from this step if the read fails.
  4. Statuses and users: review how Linear workflow states map to Sharkly statuses, and decide how source users are handled (map to members, invite, or import as external accounts). Each Linear workflow state is its own mapping row — two states with the same name stay two independent rows.
  5. Options and confirm: review the import options and start the import.

The import only reads Linear; it never changes anything there. Linear Issues are normalized into Sharkly Tasks, and assignees who cannot be matched to an Organization member are captured as external accounts with the same rules as a Jira import.

Incremental re-imports

Importing the same Linear source into the same Space again does not duplicate tasks — only changed content is followed up. To refresh historical data, roll back the previous import in the import history and import again.

Import history

Each import is a job record. The import history on the integration page shows progress and failures, and lets you cancel, resume, or roll back a job. A rollback deletes only the tasks that import created and that still belong to it; tasks created by earlier imports, and any local edits, are neither deleted nor reverted, and the continuous sync associated with that import is turned off.

Incremental sync

Import moves history; to keep following Linear-side changes, use a sync link to pair a Linear project with a Sharkly Space:

  1. Choose New sync on the integration page; the wizard covers configuration (connection, project, target Space, direction), status mapping, user mapping, and import options.
  2. The direction is either Linear to Sharkly only (Linear changes are read in) or Bidirectional (changes are written both ways); until the platform's write-back capability is verified, only the one-way direction is offered.
  3. The final step enables the link, and it starts receiving changes on a schedule.

Sync receives changes from enabled links on a schedule; Sync now on a link receives immediately, and the organization-level Sync all links runs every enabled link once. The import wizard's last step also offers Enable sync after import.

Enabling and disabling are separate from deletion: Stop syncing (disconnect) pauses changes and keeps the configuration for later re-enable in the sync settings; Delete sync removes the configuration. Imported tasks are unaffected either way.

Outbound behavior

The write-back scope follows the "outbound sync fields" shown on the link's configuration: only task fields the platform has verified support for are written back, and the rest stay read-only on the Linear side; posting a comment on a task can optionally send it to Linear, and comment edits and deletes never travel back. Linear Issue relations are always read in — writing relations back to Linear requires the link to be bidirectional and enabled.

Troubleshooting

Where do I create the personal API key?

Create it in Linear under Settings → Security & access → Personal API keys, then paste it into the bind form.

"This Linear organization is already bound"?

One Linear organization holds one connection. Re-authorize the saved connection on the integration page instead of creating a new one.

OAuth authorization is unavailable?

Self-hosted deployments without a configured public OAuth callback origin cannot receive the browser callback. Connect with a personal API key instead.

Does the import write back to Linear?

Import and incremental sync follow Linear tasks into Sharkly; a bidirectional link writes back only the fields listed in its "outbound sync fields", plus new comments explicitly sent to Linear. Other edits and deletes never travel back.