Skip to content

Issue.resolved

Emitted each time an Issue is resolved.

Issue.resolve emits Issue.resolved when it completes on an Issue.

PropertyValue
Emitted byIssue.resolve
NounIssue
WakesNone.

Payload

Each delivery is an Event record. data holds what Issue.resolve returns.

FieldTypeRequiredDescription
namestringrequiredIssue.resolved.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.issueIssuerequiredThe resolved Issue.
data.issue.statusstringrequiredOne of pending, done, failed, canceled, or refused.
data.issue.reasonstringWhy a pending Action waits: queued, running, retrying, awaitingWorker, awaitingInput, awaitingSource, awaitingAction, or awaitingTime.
data.issue.modestringrequiredHow the caller invoked it: try, send, or do.
data.issue.byWorkerThe Worker that performed it.
data.issue.forPartyThe Party it was done on behalf of.
data.issue.viastringThe Interface or request it arrived through.
data.issue.onstringThe Action or Event that caused it, such as the failed attempt a retry follows.
data.issue.thingstringThe record, at the Version the Action was decided against.
data.issue.inputjsonThe input it was called with.
data.issue.createdAtdatetimeWhen it was called.
data.issue.reservedmoneyThe most this Action may cost, held against its Limits from the check until it settles, billed misses included.
data.issue.duedatetimeWhen the Task is due.
data.issue.priorityintegerIts rank in the inbox, highest first.
data.issue.recurrencestringThe schedule a recurring duty repeats on.
data.issue.kindstringOne of bug, request, or question.
data.issue.severitystringSet by triage; a vulnerability takes critical, high, medium or low, which sets due. An Incident keeps its own scale.
data.issue.advisorystringFor a vulnerability: the public advisory it matches, with the affected package and range.

Example

JSON
{
  "$id": "https://api.sb/patentpad.com/events/event_1",
  "$type": "Event",
  "name": "Issue.resolved",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "issue": {
      "$id": "https://api.sb/patentpad.com/issues/issue_1",
      "$type": "Issue",
      "status": "pending",
      "reason": "queued",
      "mode": "try",
      "by": "worker_1",
      "for": "party_1",
      "via": "API",
      "on": "Invoice.overdue",
      "thing": "invoice_1@v3",
      "input": {},
      "createdAt": "2026-10-22T12:00:00Z",
      "reserved": {
        "amount": 499,
        "currency": "USD"
      },
      "due": "2026-10-22T12:00:00Z",
      "priority": 1,
      "recurrence": "Weekly on Friday",
      "kind": "bug",
      "severity": "critical",
      "advisory": "GHSA-xxxx-xxxx-xxxx"
    }
  },
  "seq": 1
}