Skip to main content
POST
Draft a postmortem
The DevOps employee writes a draft from what is connected: a timeline, the impact, the likely cause with how sure it is, the evidence and action items. The draft is a proposal: a person edits it and approves it, and it is filed in Jira only when Jira is connected. Otherwise nothing is sent and the console offers it to copy or download. A resolved PagerDuty incident asks for one by itself (PagerDuty webhook). Use this for any other incident. It needs agent.update: Owner, Admin or Editor.
AI employees are in beta. This answers 404 unless your deployment has switched the beta on. Not yet run against a real account. See DevOps.

Body

string
required
The service it was about. Letters, digits, dots, dashes and underscores.
string
required
What the incident was. At most 200 characters.
string
The alert’s reference, as it was filed: alert-..., sentry-... or pagerduty-.... With a sentry- or pagerduty- reference the draft reads that issue or incident, including PagerDuty’s timeline.

Response

object[]
required
One item: service, title, status (filed, repeat or over_limit) and task_id.
Last modified on November 7, 2026