Postmortems templates can be created and edited through the postmortems page in the Configuration dropdown.
You can create a postmortem when an incident has been resolved.