Learn
Generate test cases from a Linear issue
If your team plans work in Linear, you can turn an issue into a structured draft of test cases with AI — and keep each case linked to the issue it covers.
01Why generate from Linear
Linear is where a lot of teams define the work. Re-typing that work into test cases by hand is slow and drifts out of sync. Generating cases straight from a Linear issue gives you a structured first draft mapped to your test template, with a link back to the issue so coverage is traceable.
Linear is TestOrchestrator's deepest integration — beyond generation, it adds one-click OAuth, live issue search when linking, an AI insight on each linked issue, and two-way traceability. See the Linear integration page for the full picture.
02Connect Linear (one time)
A workspace admin connects Linear in Admin → Integrations using one-click OAuth — no API token to copy. Optionally set a default project for cases that people ask for from Linear. Full steps are in the Linear integration docs.
03Generate the cases
- In TestOrchestrator, generate test cases from the Linear issue you want coverage for.
- AI drafts test cases mapped to your project's template — titles, steps, expected results.
- Review the drafts, edit as needed, and save the ones you want. They land in your chosen project and link back to the issue.
From Linear itself, anyone in your Linear workspace can mention TestOrchestrator on an issue or assign the issue to it. TestOrchestrator then creates the test cases in the default project without a review step, links them to the issue and replies in Linear.
04What you get back
- Template-aware drafts, not a generic shape.
- A link back to the Linear issue, so the case's origin is always clear.
- An AI insight on the linked issue — a plain-language summary of what it is about — shown next to the link.
Generation inside TestOrchestrator produces drafts for a human to review; cases asked for from Linear are created straight away, so review them afterwards. See AI test case generation for the general flow.
05Beyond generation: results flow back
The same Linear integration also includes the QA Agent, which closes the loop in the other direction. After a test run is closed, it looks at results tied to a linked Linear issue and can send the outcome back to Linear — so the issue reflects how its coverage actually did.
- It posts an AI-written summary of the linked issue's results and can move a regression back to In Progress — but only when you opt in to automatic actions.
- High-risk actions, like closing an issue or filing a "Bug:" sub-issue, are always approval-gated: an admin approves them before anything changes in Linear.
- It is off by default, opt-in per tenant, and needs a plan that includes AI capabilities.
See the Linear integration page and the QA Agent section of the Linear docs for the full picture.