twin
Reference for the twin variable in action placeholders and conditions.
Root twin (outbound only): the object this action created for this alert or incident in the target system. Absent (never null) until a CREATE step's referenceWrite has run, so twin == nil marks the first run. One twin per action and alert or incident.
openapi: 3.1.0
info:
title: ilert action context - twin
version: 1.0.0
description: >-
Root `twin` (outbound only): the object this action created for this
alert or incident in the target system. Absent (never null) until a
`CREATE` step's `referenceWrite` has run, so `twin == nil` marks the first
run. One twin per action and alert or incident.
components:
schemas:
Twin:
type: object
required: [id, externalId, externalSystem, status, ref]
properties:
id:
type: integer
description: Internal twin id.
externalId:
type: string
description: The object's id in the target system, from `referenceWrite.externalId`.
externalUrl:
type: [string, 'null']
description: Link to the object, from `referenceWrite.externalUrl`.
externalSystem:
type: string
description: The template's brand, for example `jira`.
status:
type: string
enum: [ACTIVE, TERMINAL]
ref:
type: object
additionalProperties: true
description: The values written by `referenceWrite.ref`.
examples:
- issueId: "10042"
issueKey: OPS-17Last updated
Was this helpful?