Cases Management Skill
A Case groups related indicators — usually alert events, sometimes an external source — into one investigation unit with a status, priority, category, and assignee. Cases can also be created manually with no indicator behind them. Use this skill to open cases on demand, inspect them, and drive them through their lifecycle (active → acknowledged → resolved → closed).
CLI Commands
| Command | Purpose |
|---|---|
cx cases create --title <t> --priority <P1..P5> --description <text> [--case-label k=v ...] [--assignee <email>] [--status ACTIVE|ACKNOWLEDGED] |
Create a case manually — see "Creating a case" |
cx cases get <id> |
Get a single case by ID |
cx cases deep-links <id> |
Console deep links: the case page, and per alert indicator its alert definition and a logs / metric / RUM / SLO / tracing drilldown |
cx cases update <id> [--title] [--resolution-reason] [--description] |
Update mutable fields; --description replaces the whole description — see "Updating the description" |
cx cases comment <id> --text <text> |
Add a comment to the case timeline |
cx cases assign <id> --user <email> |
Assign a case (email, or raw user ID) |
cx cases unassign <id> |
Remove the assignee |
cx cases acknowledge <id> |
Acknowledge (signals you're working it; stops re-notification) |
cx cases unacknowledge <id> |
Remove the acknowledgment |
cx cases resolve <id> --reason <text> |
Resolve a case (irreversible — see below) |
cx cases close <id> |
Close a case (terminal) |
cx cases set-priority <id> --priority <P1..P5> |
Override the computed priority |
cx cases clear-priority <id> |
Remove a priority override |
cx cases mute <id> / cx cases unmute <id> |
Stop / restore a case's notifications; status is unchanged |
cx cases set-parent <child-id> --parent <parent-id> --mute-child|--no-mute-child |
Make the first case a child of --parent — see "Case relationships" |
cx cases unlink <id> --linked <other-id> |
Remove a parent-child link |
cx cases linked <id> |
Read a case's parent or children |
cx cases events list <case-id> |
Event timeline (status changes, comments, assignments) |
cx cases events list <case-id> --include-children-events |
Parent timeline merged with its children's events |
cx cases events get <event-id> |
A single event — drill in, e.g. to expand a comment thread |
cx cases notifications <case-id> [<case-id> ...] |
Notification deliveries (connector, status, time) |
What the CLI cannot do
Tell the user plainly and point at the alternative — do not improvise a command that does not exist.
| Not available | Why, and what to do instead |
|---|---|
| Attaching indicators to a case | A case created with cx cases create has no indicators, and none can be added later. If the issue should be tracked by an alert, fix or create the alert (cx-alerts) and let the Cases service open its own case. |
| Listing / searching cases | cx cases list was removed. Case discovery lives in the dataset: run cx dataprime query "source system/labs.cases.state_updates | ..." --start now-24h (there is no --from; the window is --start/--end). See references/case-analytics.md. |
| "Related" or "duplicate" links | Only parent-child links exist. To tie two cases together, make one the child of the other (cx cases set-parent). |
| Changing labels | Labels are fixed when the case is created. cx cases update patches only the title, resolution reason and description. |
| Reopening | RESOLVED → CLOSED only. A recurrence of the same underlying indicator reopens the case automatically; a person cannot. |
Case Lifecycle
PENDING_ACTIVATION ──► ACTIVE ◄────────► ACKNOWLEDGED
│ ╲ │ ╲
│ ╲ │ ╲
▼ ╲ ▼ ╲
CLOSED ╲──► RESOLVED ◄─── (from ACK)
│
▼
CLOSED (terminal)
| From state | Allowed transitions | Notes |
|---|---|---|
PENDING_ACTIVATION |
→ ACTIVE |
System-driven activation; not user-controllable |
ACTIVE |
→ ACKNOWLEDGED, RESOLVED, CLOSED |
Ack is optional; for a false alarm, close directly (skip resolve) |
ACKNOWLEDGED |
→ ACTIVE, RESOLVED, CLOSED |
The only "back" transition: unacknowledge returns it to ACTIVE |
RESOLVED |
→ CLOSED only |
Irreversible — cannot reopen to ACTIVE/ACKNOWLEDGED |
CLOSED |
(none) | Terminal |
Categories: AVAILABILITY or SECURITY. Priorities: P1 (highest) → P5.
Creating a case
cx cases create opens a case on demand — for something you found while
investigating, a user report, or anything no alert covers.
cx cases create \
--title "Payments API p99 latency degraded" \
--priority P2 \
--description "p99 latency on payments-api rose from ~250ms to ~900ms starting 2026-10-27 10:00 UTC; error rate unchanged. Started with deploy v4.12. Evidence: <query/dashboard links>. Impact: checkout slow for EU users." \
--case-label routing.service=payments-api --case-label routing.team=payments \
--assignee you@example.com
A manual case is fully managed by the user:
- No indicators. It is not linked to any alert or Error Tracking issue. The Cases service never updates, auto-resolves, or reopens it — nothing
will change its status but people. Whoever creates it owns driving it to
RESOLVED/CLOSED. - The description is the only context. There are no alert definitions,
permutations, or triggering logs to pivot into, so anyone triaging it — a
teammate or an agent — sees only what you wrote.
--descriptionis required by the CLI. Write it to stand on its own: what is wrong, observed impact, the time window (absolute UTC, not "an hour ago"), affected services/entities, the evidence (exact queries, numbers, dashboard or console links you actually saw), and what has been ruled out. Keep it current withcx cases update --description(see "Updating the description"); short follow-ups go incx cases comment. - Labels (
--case-label key=value, repeatable; the global--labelselects profiles, not case labels) drive filtering, category derivation, and notification routing. Routers match onlyrouting.service,routing.environment,routing.teamandrouting.group; a bareservice=label does not route. Unlike the description, they are fixed at creation. - Initial status is
ACTIVEunless--status ACKNOWLEDGED. Only start it acknowledged when a person is actually on it. - The readable
CASE-…id comes a moment later. The backend assigns it after the create returns;cx cases createre-reads the case for up to 5 seconds to report it. If it is still missing, refer to the case by its title and UUID — the printed console link opens it now — and say the readable id will appear shortly. Never compose aCASE-…id yourself. - The description comes back on reads.
cx cases getandcx cases linkedreturn it, so check it there rather than asking the user.
Before creating, ask the user to confirm title, priority, and description — a case
notifies people. Prefer one case per issue. Nothing deduplicates a manual case, so
check for an existing open case on the same problem first (see
references/case-analytics.md); the dataset lags by
seconds to minutes, so a case opened moments ago may not show yet. If one already
covers it, ask whether to comment on that case or create a child; if you create,
link yours as its child (cx cases set-parent <new> --parent <existing>) so
their case stays the incident of record.
Updating the description
cx cases update <id> --description "<text>" replaces the whole description;
nothing is appended. Use it to keep a manual case current as the investigation moves
on: new findings, the confirmed root cause, the mitigation.
- Pass the complete new description, in the same shape as at creation, at most 10,000 characters. Build it from the text you wrote; if you don't have the current text, ask the user for it or for the full replacement. Never pass only the new part — it erases the rest.
- Short notes, or anything that belongs in the history, go in
cx cases comment. The description holds the current picture; the timeline holds how it got there. - Show the user the full new description and confirm before running the update.
Triage Workflow
- Inspect —
cx cases get <id>. The payload includesgroupings,labels,impactedEntities,kpiBreaches,aiSummary, and bothpriorityDetails.system(computed) andpriorityDetails.override(user-set). - Investigate — Pull the underlying telemetry by querying the alert's DataPrime / PromQL to find root cause before acting.
For a manually created case (no indicators), the description is the starting
point — reproduce the evidence it cites rather than trusting it blindly.
Optionally export the investigation via
cx ollyor pull the case'simpactedEntities/groupingsto confirm the impact. See thecx-telemetry-queryingskill. - Claim —
cx cases assign <id> --user you@example.comthencx cases acknowledge <id>. - Record findings —
cx cases comment <id> --text "<note>"to leave investigation notes on the timeline (root cause, links, next steps) as you go. Comments appear ascommentevents incx cases events list. - Resolve or close — see below.
- Re-prioritize if impact differs from the computed value —
cx cases set-priority <id> --priority P1/clear-priority. Only possible while the case is still open; priority cannot be overridden once a case isRESOLVEDorCLOSED.
Resolving
Resolution is irreversible (a RESOLVED case can only move to CLOSED), so
the CLI requires both a reason and a confirmation:
- Pass
--reason "<text>"— a one-line postmortem (root cause, what fixed it, follow-up) visible to teammates in the timeline. Use--no-reasononly when a reason genuinely doesn't apply. - In agent / non-interactive mode, also pass
--yes; without it the command refuses and must be handed to the user to run interactively.
If uncertain, stay in ACKNOWLEDGED (reversible via unacknowledge) until
confident. For non-resolution edits (title, description, post-hoc postmortem
link), use cx cases update.
Case relationships (parent / child)
Cases can be linked into a one-level parent-child hierarchy: the parent is the incident of record and children hang under it. Every case is exactly one of standalone, parent or child, never both a parent and a child. A case has at most one parent, and a parent has at most 100 children, so there are no grandparents and no cycles. There is no "related" or "duplicate" link type.
A child is usually muted, so the parent becomes the single notifying case. Expect a child to be quiet; that is the design, not a delivery failure.
cx cases get <id> returns the case's relationship: absent for a standalone case,
{"parent": {}} for a parent, {"child": {"parent": {"caseId": "<uuid>"}}} for a
child (child.parent is omitted if you can't see the parent). This is not the
dataset's type / parentCaseId shape. A parent does not inline its children — to
list them, use cx cases linked <id> or see
Case relationships
in the analytics reference.
cx cases linked <id> reads a case's parent or children directly.
When triaging a child, read the parent first — the investigation usually lives there. When resolving a parent, check its children: they do not resolve with it.
Linking and unlinking
cx cases set-parent <id> --parent <parent-id> makes <id> the child.
cx cases set-parent CASE-390 --parent CASE-383 makes CASE-390 the child and
CASE-383 the parent — always this direction. To make CASE-383 the child instead,
swap them. Both accept a readable ID or a UUID.
Before linking:
- Read the current hierarchy with
cx cases linkedfor both cases. - Restate the result as a sentence — "CASE-390 becomes the child of CASE-383" — and have the user confirm that sentence.
- Choose the mute explicitly:
--mute-childor--no-mute-childis required.--mute-childstops the child notifying so the parent is the incident of record;--no-mute-childleaves both notifying. If the child is notifying today, say so in the confirmation — "CASE-390 is notifying 's on-call; linking it with--mute-childstops that." The user confirms that sentence, not just the link.
The backend enforces the shape, each with a clear error:
| Error | Meaning | Do |
|---|---|---|
Case is already a child of another case |
One parent maximum | Report the existing parent; offer to unlink first |
Target case is already a child… |
No grandparents | The target cannot be a parent; offer the top of the chain |
Cannot detach from parent: case is not a child |
Nothing to unlink | Run cx cases linked and report the real hierarchy |
Cases are not linked in a parent-child relationship |
Already unlinked | Nothing to do; report the current hierarchy |
Cannot mute an already-muted case / Cannot unmute an already-unmuted case |
Already in that state | Nothing to do; don't retry |
A parent takes at most 100 children. Linking a resolved or closed case is allowed.
cx cases unlink <id> --linked <other-id> removes a link; the two cases can be
given in either order. Unlinking also unmutes the child, so it notifies again; if it
should stay quiet, run cx cases mute on it afterwards.
To read a parent's timeline together with its children's, run
cx cases events list <parent-id> --include-children-events. Every event carries
the caseId it belongs to (shown as a Case ID column in text output), so you can
tell parent events from child events. Child events are subject to the caller's
access checks.
Where a case came from
A case has no top-level source field. Provenance lives on its indicators: alert
indicators for cases opened by an alert, and generic indicators (with an
indicatorType and a free-form metadata object) for non-alert sources. That also
means cx cases cannot filter by source — see
Generic indicators
in the analytics reference for the query.
A generic indicator's externalId is the dedup key. One unresolved case exists per key, and
a recurrence reopens the resolved case rather than forking a new one — so a case with
a non-null lastReactivatedAt is a repeat, which is usually the more interesting
signal than the current occurrence.
Cases opened by an Olly scheduled task
A case whose generic indicator has indicatorType == "OLLY_SCHEDULED_TASK" was
opened by an Olly scheduled task: a recurring Olly run that loads the
/case-management skill. It opens cases unattended, so nobody confirmed it.
- The task is named in the case. The indicator's
metadata.olly_scheduled_taskholdsscheduled_task_id,scheduled_task_titleand, when known,scheduled_task_owner(the owner's email). Ask the owner about the task, not the last person who touched the case. - Only team-shared tasks open cases. Olly refuses to create a case from a private
task, and a task that loads
/case-managementis shared with the whole team automatically. So the task, its prompt and its run chats are visible to the team in Olly, and that is where its reasoning lives. - The dedup key is the task's.
externalIdis the key the task chose for the problem. While this case is unresolved, a later run with the same key cannot open a second one. - Scheduled runs only create. Every other change — comment, assign, resolve, link — comes from a person, so a case like this is yours to drive once it exists.
- The CLI cannot manage scheduled tasks. There is no
cxcommand to list, pause or edit them; send the user to Olly for that. To find every case a task opened, see Generic indicators.
Bulk Operations
There are no bulk endpoints. To act on many cases, pipe IDs through a loop, e.g.
... | jq -r '.[].id' | xargs -I {} cx cases acknowledge {}.
Key Principles
- Use emails, never user IDs — for
assign --userand in all output. resolveis irreversible andcloseis terminal — confirm before resolving; for false alarmsclosefromACTIVEdirectly.- Always supply a resolution reason unless
--no-reasontruly applies. P1-style shorthand is accepted anywhere a priority/status/category is expected.- Acknowledging means a person is on it — escalation, PagerDuty and ServiceNow
all read that fact, so never acknowledge on someone's behalf to quiet a case.
Assign it, or
cx cases muteit. - Prefer muting over resolving when the work is real but nobody is on it. A resolved case is a claim the system is healthy. Muting changes no status, but it silences someone's on-call — confirm before muting.
- Confirm before every change — create, update, comment, assign, priority, resolve, close, mute, set-parent, unlink. Reads need no confirmation.
- Don't retry a change you aren't sure failed — a retried
commentposts twice. - A case has no source field — provenance is on its indicators. See "Where a case came from". A case with no indicators at all was created manually.
- Manual cases are user-owned — nothing closes them automatically, and their description is the only context; write it to stand on its own.
- Multi-profile fan-out with
-p <profile>(repeatable) for cross-environment triage. - Link to a specific case — use
deepLinks.detailfromcx cases deep-links <id>, or theView in Coralogix:line acx casescommand printed. Never build a console URL yourself.
References
- Case analytics:
references/case-analytics.md - Single case investigation:
references/single-case.md
Related Skills
cx-alerts— the alert definitions behind the events grouped into a case.cx-slos— the SLO definitions whose breaches drive reliability cases.cx-telemetry-querying— pivot from a case's impacted entities into logs/spans/metrics.
