Keysproperty operations Corbelstone Residential

#76 · Duplicate ticket

done Tue 08:00 · ticket 5093

Ledger row
policy v2
The call
POST /tickets/5093/merge into=5092
Action, tier
merge_duplicate_ticket, tier 0
Decided by
rules: Same common_light in the same building, 355 minutes apart; merge so only one vendor goes.
Controller
Allowed: merge_duplicate_ticket is tier 0 (just do it); within budget (0 of 6 actions at building 78 this hour).
authority
conditions
cooldown
budget
Definition
duplicate_ticket v2
At stake
a second vendor call-out for one fault
Outcome
Ticket 5093 merged into ticket 5092.
Undo
Reopen the duplicate as its own ticket.

Undo

Nothing to undo from here: done.

What happened next

Evidence

{
  "amount_at_risk": null,
  "building_id": 78,
  "category": "common_light",
  "currency": null,
  "minutes_apart": 355,
  "original_source": "phone",
  "original_ticket_id": 5092,
  "original_vendor_id": 94,
  "scope": "common",
  "source": "site_team",
  "stake_note": "a second vendor call-out for one fault",
  "started_at": "2026-10-25T22:54:51.166267",
  "summary": "Hallway light out",
  "ticket_id": 5093,
  "unit_id": null,
  "vendor_id_on_duplicate": 82
}

Before and after

{
  "after": {
    "ticket_events": [
      {
        "id": 27004,
        "ticket_id": 5093,
        "type": "merged_as_duplicate"
      }
    ],
    "tickets": [
      {
        "closed_at": "2026-10-27T08:00:00",
        "duplicate_of": 5092,
        "id": 5093,
        "status": "merged"
      }
    ]
  },
  "before": {
    "tickets": [
      {
        "closed_at": "2026-10-29T17:40:32.361127",
        "duplicate_of": null,
        "id": 5093,
        "status": "closed"
      }
    ]
  },
  "endpoint": "POST /tickets/5093/merge into=5092",
  "note": "Ticket 5093 merged into ticket 5092.",
  "ok": true,
  "rollback_fn_name": "undo_merge_duplicate_ticket"
}

Arguments

{
  "original_ticket_id": 5092,
  "ticket_id": 5093
}