When Trunk Flaky Tests detects a flaky test, you can create an automatically generated Linear ticket for your team to pick up and fix the test. Webhook payloads will also contain ticket information when a Jira ticket is created with the integration or when existing tickets are linked.Documentation Index
Fetch the complete documentation index at: https://trunk-4cab4936-mintlify-migrate-trunk-docs-1778256504.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Connecting to Linear
To connect a Linear project:- Navigate to Settings > Repositories > Ticketing Integration.
- Select Linear as your Ticketing System.
- Add a Linear API key
- Select a Team and Connect to Linear.
API Key permissions
The following project permissions must be granted to your Linear API key so Trunk can read, create, and assign tickets automatically:- Read
- Create issues
Create a new ticket
You can create a new ticket for any test listed in Flaky Tests. There are 2 ways to create a new ticket in the Flaky Test dashboard:- Click on the options menu for any test case on the repo overview dashboard
- Use the Create ticket button in the top left corner of the test case details page.