v2

latestOpenAPI 3.1.0UNLICENSED2026-07-26210239.8 KB

Link a ticket to a test case

post/flaky-tests/link-ticket-to-test-case

Request body

test_case_idstring uuid required

The id of the test case. Should be a UUID.

external_ticket_idstring required

The external identifier of the ticket. For Jira this is the ticket number prefixed by the Project Key. For Linear this is the ticket number prefixed by the Team Identifier

Example request

{
  "test_case_id": "01234567-0123-0123-0123-0123456789ab",
  "external_ticket_id": "KAN-123",
  "repo": {
    "host": "github.com",
    "owner": "my-github-org",
    "name": "my-repo"
  }
}

Response

OK