Jira Integration
Triage your flaky tests faster by creating automatically assigned and labeled tickets with the Jira integration
Last updated
Triage your flaky tests faster by creating automatically assigned and labeled tickets with the Jira integration
Last updated
When Trunk Flaky Tests , you can create an automatically generated Jira 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 Jira Cloud project, navigate to Settings -> Repositories -> Ticketing Integration and select Jira as your Ticketing System.
Then complete the form and click Connect to Jira Cloud with the following information.
Jira URL
The URL to your Jira Cloud project.
https://trunk-io.atlassian.net
Project Key
The project key for your Jira project.
KAN
The email associated with your Jira API token.
johndoe@example.com
Jira API token
ATATT*****19FNY5Q
Default label(s) for new tickets
Labels applied to new Jira tickets created through Trunk Flaky Tests
flaky-test, debt
After connecting to Jira, you can specify a default issue type for new tickets and a default assignee for new tickets.
You can create a new ticket for any test listed in Trunk 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 will have a preview of the title and description.
If you are connected to Jira, you can click the Create Jira Ticket button at the end of the modal, which will automatically create a ticket with the configured labels and assignees.
Use the Create ticket button in the top left corner of the page.
If you already have a ticket in Jira that you want to link to a test in the dashboard, you can use the .