Skip to content
Proud to collaborate with Microsoft for Startups

ticket.external.sync.dispatch ​

Dispatch outbound ticket sync to the configured provider workflow.

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-tickets
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringYes——
ticket_uuidstringYes——
providerstringYes——
connection_uuidstringNo——
modestringNo——
sync_fieldslistNo——
commentstringNo——
idempotency_keystringNo——
dry_runbooleanNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
ticket_uuidstringNo——
providerstringNo——
provider_workflow_typestringNo——
provider_resultjsonNo——
warningslistNo——
preparejsonNo——
linearjsonNo——
jirajsonNo——
asanajsonNo——
githubjsonNo——
finalizejsonNo——
workflow_run_uuidstringNo——
failure_reasonstringNo—Engine-stamped human-readable failure reason
failure_typestringNo—Engine-stamped failure category
failed_actionstringNo—Engine-stamped action that raised
failed_at_statestringNo—Engine-stamped state when the workflow failed
failed_stepstringNo—Engine-stamped step name (DAG path)
failed_layerstringNo—Engine-stamped layer index (DAG path)
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name
failed_atstringNo—ISO-8601 timestamp when action_fail recorded the failure

DAG Layers ​

#LayerStepsCompensation
1prepareticket.external.sync.prepare—
2synclinear.tickets.sync_ticket_to_issue, jira.tickets.sync_ticket_to_issue, asana.tickets.sync_ticket_to_task, github.tickets.sync_ticket_to_issue—
3finalizeticket.external.sync.finalize—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
ticket.external.sync.prepareprepare
linear.tickets.sync_ticket_to_issuelinear
jira.tickets.sync_ticket_to_issuejira
asana.tickets.sync_ticket_to_taskasana
github.tickets.sync_ticket_to_issuegithub
ticket.external.sync.finalizefinalize

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "ticket.external.sync.dispatch",
  "initial_data": {
    "organization_uuid": "value",
    "ticket_uuid": "value",
    "provider": "value"
  }
}