Skip to main content
POST
Link a ticket to a test case

Authorizations

x-api-token
string
header
required

Your organization API token. In the Trunk app, find it under Settings → Developer → API Keys, in the Organization API token (v1) section. v2 API keys don't work with the v1 API. The v1 API will be deprecated soon.

Body

application/json
test_case_id
string<uuid>
required

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

Example:

"01234567-0123-0123-0123-0123456789ab"

external_ticket_id
string
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

Examples:

"KAN-123"

"TRUNK-1234"

repo
object
required

The repository to list tests for.

Response

OK