> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aide.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Create and link Linear issues from conversations and quality issues

> Connect Linear and your team turns what customers report into Linear issues without leaving Aide, with the title and description written by Aide.

Connect Linear and your team turns what customers report into Linear issues without leaving Aide, with the title and description written by Aide. When an issue is completed, Aide reopens the conversations that waited on it and drafts the reply that tells the customer. If your own AI agent's traces are in PostHog, the quality issues Aide finds in them can be filed in Linear too, and Linear decides when they're resolved. Linear is on every plan, and its settings are in **Integrations > Linear**.

## Connect Linear

1. Open **Integrations > Linear** and select **Connect**.
2. Approve Aide in Linear. Linear lets only a workspace admin complete the install, so approve with a Linear admin account.
3. Back in Aide, choose the **Team** new issues go to under **Conversations** and under **Quality issues**, then select **Save**. Leave a team on **Choose each time** to pick it whenever someone creates an issue.

Owners and admins connect Linear and change its settings; agents can see them. Each Aide workspace connects one Linear workspace. Aide works in the Linear teams its app can access, which a Linear admin can change in Linear.

Aide asks Linear for permission to:

* Read the workspace: its teams, issues with their status and assignee, and whether Customers is on.
* Create issues, and attach conversations and quality issues to them.
* Create comments, for the fix check on quality issues.
* Read and write customers, to add customer requests.
* Write to the workspace, which Linear requires to add a customer request and to take Aide's attachment off an issue. Aide uses it for nothing else.

Aide never changes an issue's status, assignee or priority after creating it. Those stay yours to set in Linear.

## Create an issue from a conversation

Open the conversation and choose **More actions > Create Linear issue**, or select **Create issue** in the **Linear** section of the details panel.

* While the form opens, Aide reads the conversation and writes the title and description: what happened and where, the steps to reproduce when the customer gave them, what was expected and what happened instead, and any order numbers or page the customer mentioned. It never names the customer. Select **Skip** to write your own.
* Edit the **Title** and **Description**, pick the **Team** and **Priority**, and select **Create issue**.
* In Linear the issue reads "Your Name (via Aide)". The conversation is attached to it with its subject, the customer's name and their first message quoted, and opens in Aide.

Writing the draft doesn't count as an AI reply. When AI is paused for the workspace or today's AI budget is spent, the form says so and you fill it in yourself.

## Link an existing issue

Choose **More actions > Link Linear issue**, or **Link issue** in the details panel, and type an identifier like `ENG-123` or words from the issue's title. Aide attaches the conversation to the issue in Linear.

You can also link from Linear. Copy the conversation's address with **More actions > Copy link** and add it to the issue as a link: the issue appears on the conversation in Aide within a minute or two. Removing that link in Linear unlinks it.

A conversation can have up to 20 linked issues.

## Customer requests

When Customers is on in your Linear workspace, each conversation you create or link an issue from adds a customer request to the issue, quoting the customer's first message. The request goes under the customer's company, which Aide finds by the customer's email domain and creates in Linear when it doesn't exist yet. Customers writing from a public address, such as Gmail or Outlook, add no request.

Switch this off with **Add customer requests**. If Customers is off in Linear, the setting tells you to turn it on there.

## Follow an issue from the conversation

The **Linear** section of the details panel lists the conversation's issues with their status, assignee and who linked them, kept up to date as they change in Linear. **Open in Linear** opens the issue. **Unlink** takes the conversation off the issue and removes Aide's attachment from it; the issue and the conversation's customer request stay in Linear. When an issue is marked a duplicate in Linear, its conversations move to the issue it duplicates. Creating, linking, unlinking and closing an issue each add a line to the conversation's activity.

## When an issue is completed or canceled

When a linked issue is completed in Linear, Aide does this on every conversation linked to it:

* **Reopen the conversation.**
* **Add an internal note** with the issue, its new status and its link.
* **Draft a reply to the customer** telling them what they reported is done, for a teammate to read and send. Aide writes it when the customer's last message is still waiting on a reply from your team, and it counts as an AI reply, like any Copilot draft (see [Copilot drafts for your team](https://docs.aide.app/copilot/copilot.md)).

When a linked issue is canceled, Aide adds the internal note, and reopens the conversation only if you switch that on. Each is a switch under **When a linked issue is completed** and **When a linked issue is canceled**, all on by default except reopening a conversation when its issue is canceled. Reopening an issue in Linear changes nothing on the conversation.

On a Zendesk, Front or Gorgias conversation, the note and the reopen reach the helpdesk ticket too, except in an inbox set to **Watch only** (see [Take a helpdesk inbox live in stages](https://docs.aide.app/integrations/rollout-stages.md)). The draft is never written into the helpdesk.

## Quality issues from your own AI agent

If Aide reviews your own AI agent's conversations from PostHog (see [Review your own AI agent's conversations from PostHog](https://docs.aide.app/analytics/agent-analytics.md)), each theme in **AI Agent > Quality > Issues** is a quality issue you can file in Linear. Owners and admins see these pages.

Open a theme and select **Create Linear issue**. Aide fills the issue from what the page already shows, without an AI call:

* The title is the theme's name, and the description starts with the theme's description.
* **Impact:** bad responses and conversations, cost, first and last seen, and the organizations most affected.
* **What would fix it:** the tools to add or fix, the tools that failed, and the knowledge, policies or context your agent needed.
* **Example conversations:** links to up to 5 of them in Aide.

Edit it, pick the team and priority, and create it. Or select **Link Linear issue** to attach the theme to an issue that exists. The attachment on the Linear issue shows the theme's bad responses and conversations, refreshed once a day when they change.

### Linear sets the theme's status

* Completed in Linear: the theme shows **Resolved in Linear**.
* Canceled in Linear: it shows **Dismissed in Linear**.
* Reopened in Linear: the theme is open again.

With more than one linked issue, the theme is resolved once all of them are closed, and dismissed only when all were canceled.

### Aide checks that the fix worked

Once a day, Aide looks at resolved themes that have a linked Linear issue. It counts only conversations that started more than 24 hours after the theme was resolved, to give the fix time to ship. If 3 or more of them are bad responses in that theme, Aide reopens it and comments on each linked Linear issue with the count and links to up to 5 of those conversations. The Linear issue keeps its status: reopen it there if the work isn't done. Otherwise Aide says nothing.

### File new quality issues automatically

This is off by default. Switch on **File new quality issues automatically** under **Quality issues** and set **Once it has at least** a number of bad responses (10 to start with). Once a day, Aide files an issue, written the same way, for each open theme that has reached that number and was never linked to a Linear issue: up to 10 a day, oldest first, in the team chosen under **Quality issues**. A theme you unlinked is never filed again.

## From Ask Aide and AI apps

Ask Aide and AI apps connected to Aide can draft, create, link, unlink and list Linear issues for a conversation or a quality issue, with the same permissions as in the dashboard. See [Ask Aide: set up and improve Aide with Aide Superintelligence](https://docs.aide.app/getting-started/aide-superintelligence.md) and [Connect Aide to Claude, ChatGPT and other AI tools](https://docs.aide.app/developers/mcp-server.md).

## If Linear stops accepting Aide's access

The Linear settings show **Reconnect Linear**, and creating or linking issues asks you to reconnect first. Issues already linked stay linked.

## Disconnect Linear

**Disconnect** on **Integrations > Linear** ends Aide's access to the Linear workspace and removes the linked issues from your conversations and themes in Aide. The issues, Aide's attachments and the customer requests stay in Linear.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.