Skip to content →

How Clay manages bugs using Linear

Clay is a go-to-market platform that helps teams enrich leads, identify intent signals, and automate outbound workflows. As they scaled from 50 to 200 employees, they built a bug management system using Linear that dramatically reduced triage time. They now triage about 90 inbound bug reports a week, with a median time of 15 minutes.

FoundedNew York, 2017
SwitchedNovember 2019

Every bug report looks different, but they all ask the same question, who can fix this? At a lot of companies, the answer lives in people’s heads. Sarah knows the payment system, Marcus understands the API, and when weird edge cases happen, you just…ask around.

This is bug triage via tacit knowledge. It’s both a superpower and a liability. It works beautifully when your entire team fits in one room. But as companies scale, shared context shrinks. You can spend as long figuring out who to assign a bug to as the bug takes to fix.

Clay hit this wall hard. As they scaled from 50 to 200 employees their bug management process, which relied on people just knowing where to send things, began to crack. Today, Clay has built a bug management system that really scales. Here’s how they do it.

Centralize intake⁠

Clay funnels every bug report, regardless of where it originates, through a Slack channel called #all-bugs.

Clay employees can submit bugs directly to the channel using a standardized form. This is the default action in the channel and the form ensures that people submit structured reports instead of vague messages.

Bug intake forms across Slack, Clay and Intercom

Clay embeds the same form in its app, hidden behind a set of keyboard shortcuts, so that team members can report bugs without leaving the product. This is particularly useful for customer-facing teams giving live demos.

Through Linear’s Intercom integration, the same workflow lives in their support tool, giving the Clay CX team a straightforward way to report customer-flagged bugs.

No matter where a bug originates, it ends up as a message in #all-bugs.

Create a single triage queue in Linear⁠

After collecting bugs in Slack, Clay routes them into Linear via Linear Asks. This enables anyone at Clay to create an issue in Linear, even if they don’t have a seat.

Asks turns requests like bug reports into actionable issues in Linear

With a few clicks, that bug report goes from Slack to Linear, and lands in a single team called “Bugs Team.”

Today, the only required input to Clay’s triage process is a Linear ticket. Linear is the system of record and the policy layer, so routing rules and priorities live alongside the issue.

Clay uses Linear dashboards to track triage metrics without pulling in a data team, and they use Linear’s GraphQL API in their internal bug reporting tool.

A kanban board in Linear of all bugs

Tomas Fiure, a support engineer at Clay, built this process in Linear and still oversees the Bugs Team. The aim is the same as when he ran triage himself. Each bug report should be sized accordingly and assigned to the team best positioned to fix it.

Route bugs systematically⁠

Tomas has owned this process for a while, which is how he learned to sort bugs to the right teams. He’s developed the context and pattern recognition to know webhook errors go to the API team, UI issues go to frontend, and so on.

But Clay wanted a bug process that didn’t depend on any one person’s institutional knowledge. To make their process more robust to staffing changes, they increasingly rely on Linear’s Triage Intelligence. This feature learns from triage patterns and starts to suggest teams, priorities, and duplicates automatically.

Triage Intelligence catches duplicates and suggests labels and assignees for bugs in triage

Clay has already accepted nearly 300 suggestions from Triage Intelligence. Tomas has also set up auto-triage rules for SLA automation based on priority. This gives the team confidence that urgent bugs with SLA requirements will be addressed promptly, because the system will auto-assign them to the right team.

Their triage agent can apply labels to an issue, but priority and team assignment stay in Linear. Automations take those labels, plus metadata collected when the bug is reported, and act on them.

Linear’s AI suggestions make the triage process smoother while allowing the flexibility and feedback to customize the ramp up. It truly gets much better as it gets more use and is invaluable for scaling the bug triage system.

Tomas Fiure — Support Engineer

Establish ownership⁠

Once Clay had a process in place for collecting and routing bugs, they needed a way to ensure the bugs actually got addressed.

To do that, each engineering team uses a weekly “goalie” system borrowed from Linear’s own approach. One person per team rotates into the role and is responsible for all bugs triaged their way during the week.

Triage Responsibility notifies team members when a bug lands in triage

When a webhook issue is routed to the API team, the goalie for that week owns it, rather than just “the API team.” The goalie receives an automatic notification that they’ve been assigned a bug and becomes accountable for either fixing it directly or reassigning it to someone better placed on the team.

Because all of Clay’s engineering work lives in Linear, they can cross-reference bug issues with customer feedback and scheduled work.

The impact⁠

Speed is the obvious result, but Clay says the larger goal is to protect engineering attention. They now triage about 90 inbound bug reports every week. Median triage time is 15 minutes, and the 90th percentile has fallen from about 24 hours to under an hour. That has returned more than 30 hours of human triage time each week.

A first pass before an engineer looks⁠

Once a bug is in Linear, Clay’s triage agent investigates it. The agent works inside Linear through Linear’s agent integration. In one recent case, about 15 minutes after the report was filed, the issue already had the failing code path, a reproduced test, a draft PR, and a confidence assessment, and had been routed to the team that owns that surface. About 15% of bugs are now solved through those agent-authored PRs. Clay walks through the whole system in their own post, How we run bug triage without a second of engineering time.

Close the loop with customers⁠

Clay’s old bug management process didn’t link bug reports with customers. This meant customers never really knew if the bugs they’d reported had been fixed.

Now, enabled by Linear’s integrations, any comment or update made on a bug, whether on Slack, the Intercom thread, or in Linear, automatically syncs across all platforms. When a fix is merged, an alert appears in the original Intercom thread where the customer reported it. Support can see exactly what happened and how it was fixed, making it easy to draft a detailed update for the customer.

Linear democratized all the context that used to live in people’s heads. Everyone stays informed regardless of which tool they’re using. No more duplicate bug reports, no more wondering if someone else flagged an issue. We move faster, and customers get a better experience.

George Dilthey — Head of Support



⁠