Connect Linear to Rig
Sync issues, projects and teams into the warehouse, so engineering work sits alongside the support tickets and customer accounts that caused it. The question this usually gets asked to answer is how long something took and what it was blocking, which needs both halves in one place.
- Requirements
- A Linear account with access to the teams you want to sync
- Time required
- 3 mins
Before you start
A Linear key belongs to a person, and it sees what that person can see. Creating it from an account that will still exist in a year is the difference between a sync that keeps working and one that stops the week someone leaves.
Create the API key
- In Linear, click your account at the top left, then
Settings. - Go to
Security and accessand scroll down to the API keys section. - Click
Create API key. - Give it a name you will recognise later, choose read scopes, and grant access to the teams you want in the warehouse.
- Copy the key. Linear shows it once.
Connect it in Rig
- In Rig, open
Connectionsand go toSources & actions. - Search for Linear and open the card.
- Linear API key: paste the key.
- Click
Test, thenSync.
What Rig pulls in
Linear lands in its own linear schema, in three tables.
- Issues: identifier and title, description, priority, state, team, project, assignee, and the three timestamps that make lead time answerable, namely created, updated and completed.
- Projects: name, description, state, start and target dates, and when the project was completed.
- Teams: name, key and description. The team key is the prefix in an issue identifier, so this is what lets
ENG-412resolve to a team without string parsing.
Comments, cycles, labels and attachments are not part of this connector today. If reporting depends on any of them, worth raising before you build on it.
Troubleshooting
- A team is missing: the key was not granted that team. Team permissions cannot be extended on an existing key, so create a new one with the full set and replace it in the connection.
- The key is rejected: it was probably truncated on copy, or it belongs to a deactivated account. Linear keys stop working the moment their owner is deactivated.
- Issues sync but projects are empty: the key lacks a read scope for projects. Scopes are chosen at creation, so this is a new key rather than an edit.
- Completed timestamps are null on closed issues: they were closed as cancelled rather than completed. Linear only stamps a completion time for issues that reached a completed state.
What people use this for
- Measure issue lead time and throughput
- Monitor backlog health and aging issues
- Track project delivery against target dates