Linear

Connect & Ingest data from Linear

Linear is a modern issue tracking and project management platform for software teams. The Sling Linear connector extracts data from Linear's GraphQL API, supporting teams, users, issues, comments, projects, cycles, labels, workflow states, attachments, issue relations, and project milestones.

circle-check

Setup

The following credentials are accepted:

Secrets:

  • api_key (required) -> Your Linear Personal API Key

Inputs (optional):

  • anchor_date -> Starting date for first sync of incremental endpoints (ISO 8601 format, e.g., 2024-01-01T00:00:00Z). Defaults to 1 year ago.

Getting Your Personal API Key

  1. Click your avatar (bottom-left corner)

  2. Go to Settings

  3. Navigate to Security & access in the left sidebar

  4. Scroll to Personal API keys

  5. Click New API key

  6. Name the key (e.g., sling-api)

  7. Select Full access for permissions

  8. Select All teams you have access to for team access

  9. Click Create and copy the key immediately (it won't be shown again)

circle-exclamation

Using sling conns

Environment Variable

See here to learn more about the .env.sling file.

Sling Env File YAML

See here to learn more about the sling env.yaml file.

Replication

Here's an example replication configuration to sync Linear data to a PostgreSQL database:

Incremental sync for issues, comments, projects, and attachments:

Endpoints

Endpoint
Description
Incremental

teams

All teams in the workspace

No

users

All users in the workspace

No

issues

All issues with full detail (state, assignee, project, cycle, labels)

Yes

comments

All issue comments

Yes

projects

All projects with lead and status

Yes

cycles

All cycles (sprints) with progress tracking

No

labels

All issue labels

No

workflow_states

All workflow states (issue status definitions)

No

attachments

All issue attachments

Yes

issue_relations

All issue relations (blocks, related, duplicates)

No

project_milestones

All project milestones

No

To discover available endpoints:

Incremental Sync

Four endpoints support incremental sync via the updatedAt timestamp:

issues — Fetches issues updated since the last sync:

  • First run: Fetches all issues updated in the last year (or since anchor_date if provided)

  • Subsequent runs: Only fetches issues modified after the last sync timestamp

  • Includes archived issues for completeness

comments — Fetches comments updated since the last sync:

  • First run: Fetches all comments from the last year (or since anchor_date)

  • Subsequent runs: Only fetches new or modified comments

projects — Fetches projects updated since the last sync.

attachments — Fetches attachments updated since the last sync.

All other endpoints run in full-refresh mode since they contain relatively small datasets (teams, labels, workflow states, etc.) that benefit from complete refreshes.

Rate Limiting

The Linear API enforces rate limits:

  • 5,000 requests per hour per user

  • 250,000 complexity points per hour per user

The connector automatically:

  • Uses conservative rate limiting (5 requests/second with concurrency of 3)

  • Retries with exponential backoff on 429 (rate limit) responses, up to 5 attempts

Common Use Cases

Sync All Linear Data

Track Issues Incrementally

Export Issues with Comments for Analysis

If you are facing issues connecting, please reach out to us at [email protected]envelope, on discordarrow-up-right or open a Github Issue herearrow-up-right.

Last updated

Was this helpful?