We now have a built-in Linear integration that creates tickets with relevant test and failure information from your flaky tests. Detecting and quarantining flaky tests aren’t the only steps required to eliminate them from a repo. A follow-up process must also be established to collect, triage, and fix flaky tests. Ticketing system integrations help with that follow-up. Trunk generates tickets automatically from detected flaky tests, enabling you to triage and address flakes. Flakes on important tests should be dealt with immediately, and other flakes can be added to a backlog or the tests can be marked for future removal. To set up the Linear integration:Documentation Index
Fetch the complete documentation index at: https://docs.trunk.io/llms.txt
Use this file to discover all available pages before exploring further.
- Go to your repo settings: Settings > repo > Ticketing Integration.
- Select Linear as your system and enter a Linear API key.
- Select a team and connect to Linear.

- In the options menu on the test cases overview dashboard.
- With the Create ticket button on the test details dashboard.

