Get a test's linked ticket
Returns the ticket linked to a test, with its title, assignee and when Trunk last synced it. A test with no linked ticket is 404 TICKET_NOT_LINKED.
This is the only test read that calls the ticketing provider: a ticket Trunk has not synced in the last 15 minutes is read back from its provider first. If the provider does not answer within a few seconds, the ticket is returned as Trunk last synced it, with that older syncedAt.
A ticket the provider no longer has stays linked, with deletedAt set and the last status synced; unlink it or link another ticket to replace it.
A test in another organization is reported as 404 TEST_NOT_FOUND, not 403, and so is a malformed id.
Authorizations
An API key, sent as Authorization: Bearer <key>. An organization admin creates one in the Trunk app under Settings → Developer → API Keys and chooses the permissions it holds. A new key starts with no permissions: it can read merge queues but change nothing in them, and it cannot get a Dynamic CI plan. Each endpoint that needs a permission names it in its description; the Dynamic CI plan endpoints need Generate Dynamic CI plans.
Path Parameters
Response
The linked ticket