Skip to main content
POST
Create a ticket and link it to a resource

Authorizations

Authorization
string
header
required

Organization API key (sl_…).

Headers

x-tenant-id
string
required

The organization ID the request is scoped to.

Body

application/json

Create an issue in the ticketing system and link it to a resource.

srn
string
required

The canonical SELECT Resource Name (SRN) of the resource the issue is linked to. Resolve one from a resource's identifying details with POST /v2/srn/actions/resolve.

Required string length: 1 - 2048
integration_id
string
required

Identifier of the ticketing integration to create the issue in.

project_key
string
required

The project to create the issue in, such as ENG.

issue_type_id
string
required

Identifier of the issue type to create, such as a bug or a task.

title
string
required

The issue's summary line.

Maximum string length: 255
description
string | null

The issue's description.

priority_id
string | null

Identifier of the priority to set on the issue.

assignee_account_id
string | null

Identifier of the account to assign the issue to.

epic_key
string | null

Key of the epic to file the issue under, such as ENG-1.

Response

Successful Response

An issue in an external ticketing system, linked to a SELECT resource.

id
string
required
read-only

The unique identifier of the link.

etag
string
required
read-only

Opaque strong ETag for this link. Matches the ETag response header, and changes whenever the mirrored title, status or assignee is refreshed.

srn
string
required
read-only

The canonical SELECT Resource Name (SRN) of the resource the issue is linked to. Resolve one from a resource's identifying details with POST /v2/srn/actions/resolve.

provider
string
required
read-only

The ticketing system the issue lives in.

Allowed value: "jira"
integration_id
string
required
read-only

Identifier of the ticketing integration the issue belongs to.

ticket_id
string
required
read-only

The issue's identifier in the ticketing system.

ticket_url
string
required
read-only

Link to the issue in the ticketing system.

create_time
string
required
read-only

When the link was created, as an RFC 3339 UTC timestamp.

ticket_key
string | null

The issue's human-readable key, such as ENG-123.

ticket_title
string | null

The issue's summary line.

ticket_status
string | null

The issue's status in the ticketing system, such as In Progress.

ticket_assignee
string | null

Display name of the person the issue is assigned to.

is_disconnected
boolean
default:false
read-only

Whether the issue no longer exists in the ticketing system. A disconnected link stays listed so the loss is visible, and its title, status and assignee stay as they were at the last successful read.

sync_time
string | null

When the issue's title, status and assignee were last read from the ticketing system, as an RFC 3339 UTC timestamp. Those fields reflect the issue as of this time, not necessarily its current state.