Linear Integration
Triage your flaky tests faster by creating automatically assigned and labeled tickets with the Linear integration
Last updated
Triage your flaky tests faster by creating automatically assigned and labeled tickets with the Linear integration
Last updated
When Trunk Flaky Tests , 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 .
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.
After connecting to Linear, you can specify a default project and a default assignee for new tickets.
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
Before you create the ticket, you get a preview of the title and description.
If you are connected to Linear, you can click the Create Linear Ticket button at the end of the modal to automatically create a ticket with the configured team and assignees.
Use the Create ticket button in the top left corner of the page.
Note: You can use to automate ticket creation, or if you need more control over how tickets are created in Linear. This integration is not required when using webhooks.
If you already have a ticket in Linear that you want to link to a test in the dashboard, you can use the .