Step-by-step instructions to integrate TestDriver with Jira for automated test failure tracking in CI/CD workflows.
Run Tests with TestDriver CLI
Check for Test Failures
Create a Jira Ticket
TD_API_KEY
).JIRA_API_TOKEN
).https://yourcompany.atlassian.net
).TEST
).testdriver/test.yaml
file.
failure=true
) to trigger the Jira ticket creation step and prepares the output file for the Jira ticket.
create-jira-ticket
job uses the atlassian/gajira-create
action to create a new Jira ticket. The ticket includes:
TD_API_KEY
: Your TestDriver API key.JIRA_API_TOKEN
: Your Jira API token.JIRA_BASE_URL
: Your Jira instance URL (for example, https://yourcompany.atlassian.net
).JIRA_USERNAME
: Your Jira account email.