Helpdesk
Create Linear issues from Helpdesk tickets
Connect Linear so your team can turn Helpdesk tickets into Linear issues, drafted by AI
The QwryAI Linear integration turns Helpdesk tickets into Linear issues. When a ticket needs work from another team, such as a bug report or a feature request, the AI drafts the issue's title and description from the ticket, so your support team doesn't have to rewrite it by hand. You can also link a ticket to an issue that already exists.
Before you start
- A QwryAI AI agent with the Helpdesk
- A Linear workspace you can grant access to
Connect Linear
- Open Integrations
Open your AI agent and select Integrations in the sidebar.
- Grant access to Linear
Select Connect on the Linear card, described as Create Linear issues from Helpdesk tickets., then approve QwryAI in the Linear window that opens.
Connect Linear under Integrations.
Once connected, the card's button changes to Draft settings.
Each AI agent connects to one Linear workspace. Several AI agents can connect to the same Linear workspace, each with its own connection.
Create or link an issue from a ticket
Open a ticket in Tickets and find the Linear issues section in the ticket's Details panel.
- Create issue: the AI drafts a new Linear issue from the ticket, following your draft settings.
- Link issue: link the ticket to an issue that already exists in Linear.
Linked issues are listed in the section, and the heading counts them, as in Linear issues (2). With none linked yet, it reads No linked issues.
Create an issue
- Select Create issue
The Create Linear issue dialog opens and says The issue links back to ticket TKT-11. While the AI writes, the title reads Drafting the issue.... Select Skip to write it yourself instead.
- Check the fields
Pick a Team and a Priority, and edit the Title and Description. QwryAI remembers the last team you picked for this AI agent in your browser.
- Select Create issue
The issue is created in Linear and added to the ticket's list. You'll see Created ENG-123 with the new issue's ID.
The dialog has four fields: Team, Title, Description and Priority. Set the assignee, labels, project or state in Linear after the issue is created.
The priority starts from the ticket's own priority:
Ticket priority Linear priority No priority No priority Urgent Urgent High High Medium Medium Low Low QwryAI adds a last line to the description,
QwryAI ticket TKT-11:followed by a link to the ticket, and attaches a QwryAI ticket TKT-11 link to the issue, so your engineers can get back to the ticket.If the issue is created but can't be linked to the ticket, you'll see Created the issue in Linear but couldn't link it to this ticket. Use Link issue instead of creating it again. Do that, so you don't end up with a duplicate in Linear.
Link an existing issue
- Select Link issue
The Link Linear issue dialog says Search by title, or paste an issue ID or URL.
- Search
Type part of the title, an issue ID like
ENG-123, or paste the issue's Linear URL. - Select the issue
Clicking a result links it straight away; there's no confirm button. You'll see Linked ENG-123.
Search shows the top 10 matches, so narrow the search if you don't see the issue. Issues already on the ticket are marked Linked and can't be picked again. With no match, the dialog says No matching issues.
Linked issues on the ticket
Each linked issue shows its ID, title, assignee and status. Select it to open the issue in Linear. The status is read from Linear each time you open the ticket; changes in Linear don't post anything to the ticket or change its status.
Creating, linking and unlinking an issue each add an entry to the ticket's history, such as Created Linear issue ENG-123: Checkout button does nothing.
To remove an issue, select Unlink on its row. This only removes the link in QwryAI. The issue and its link back to the ticket stay in Linear.
Draft settings
Draft settings control how the AI writes a Linear issue from a ticket. Select Draft settings on the Linear card to open Linear draft settings, described as Used when drafting a Linear issue from a ticket. Teammates who can change the settings can also open them from the gear icon next to Create Linear issue in the dialog.
- Language: the language the issue is written in. The default is English, and you can pick from 45 languages.
- Writing instructions: how the AI should write the description, up to 4,000 characters. Select Reset to default to go back to the default instructions.
These are the default writing instructions, word for word. Copy them as a starting point if you want to add a section or change the tone:
Write the description in Markdown with these sections:
## Summary
One or two sentences on what the customer needs.
## Request
What the customer asked for or reported, with any context the ticket gives.
## Steps to reproduce
Only when the ticket reports something broken. Numbered steps, only if the ticket describes any. Leave this section out otherwise.
## Expected vs actual
Only when the ticket reports something broken. What the customer expected to happen and what happened instead. Leave this section out otherwise.
## Customer impact
Who is affected and how badly, based only on the ticket.
## Customer details
The customer's name, email, phone and any account or order identifiers they gave, so the team can find them.Select Save to apply your changes; you'll see Draft settings saved. The settings apply to everyone drafting issues for this AI agent.
What the draft reads
The AI builds the draft from:
- The ticket: its subject, description and priority, and the customer's name, email and phone.
- The conversation: the last 30 messages between the customer, the AI agent and your team, when the ticket has a conversation.
Internal notes, tags and custom fields aren't read.
Disconnect Linear
To disconnect, open the ⋯ menu on the Linear card and select Disconnect.
Links made before you disconnect are kept. The Linear issues section is hidden until you connect Linear again, and then the links come back.
Limitations
- Issues are created by hand from a ticket. Triggers and automations have no Linear action.
- The dialog sets team, title, description and priority only.
- Changes in Linear don't update the ticket.
- Live status is read for up to 50 linked issues per ticket.
Troubleshooting
Linear access was revoked
If someone removes the QwryAI app in Linear or its access expires, the card and the ticket section show Linear access was revoked. Disconnect and reconnect it from Integrations. The card offers Reconnect: select it and approve access again.
A linked issue has no status
QwryAI couldn't reach Linear, or the ticket has more than 50 linked issues. The issue still shows the ID and title saved when it was linked. Open the ticket again later for the current status.
Frequently asked questions
Can a trigger create a Linear issue automatically?
No. Triggers have no Linear action. Issues are created or linked by a teammate from the ticket's Linear issues section.
Can I set the assignee, labels or project from QwryAI?
No. The Create Linear issue dialog has Team, Title, Description and Priority only. Set anything else in Linear after the issue is created.
What Linear priority does a ticket with no priority get?
No priority. Urgent, High, Medium and Low keep their names. You can change it in the dialog before creating the issue.
Does the draft include internal notes?
No. The draft reads the ticket and the conversation with the customer, so internal notes stay out of Linear.
Can one Linear workspace connect to several AI agents?
Yes. Each AI agent connects separately, and several can use the same Linear workspace.