It seem like the resilient incident is unable to close automatically due to "Incident Status" or "plan_status" is read-only.
I tried to write the REST API to close the incident,
under /docs/rest-api/ui/index.html, it only have following but no "close"
PUT /orgs/{org_id}/incidents/delete
GET /orgs/{org_id}/incidents/open
PUT /orgs/{org_id}/incidents/patch
POST /orgs/{org_id}/incidents/query
I tried with patch with resolution_id, resolution_summary and plan_status.
It doesn't work as expected.Under the API key permission it does not have close permission too
May I propose developer to grant the feature for us to close?
EDIT: Closing of incident will be using
PUT /orgs/{org_id}/incidents/patch------------------------------
AXE LAW
------------------------------