Configure Runbook Inputs & Outputs
Setting Incident Context
To ensure the correct fields are available in the data picker:
- Open your runbook in the editor
- Go to the Input/Output section (top of the page)
- Under Incident Context, select:
- Any Incident - Standard incident fields only
- No Incident - No incident fields available
- Custom Incident Type - Standard fields + custom fields from a specific incident type
- If you selected Custom Incident Type:
- Choose the incident type from the dropdown
- All custom fields from that type become available in the data picker
- Click Save
Example: If you select "Service Incident" as the custom incident type, and that type has custom fields like error_rate and affected_users, those fields will appear in the data picker as:
{{incident.error_rate}}{{incident.affected_users}}
Next steps
- Go to Create Runbooks to learn about runbook creation.
- Go to Overview to understand incident and alert fields.
- Go to Use Mustache Templates in Runbook Actions to reference fields in actions.
info
Need Help? Contact our support team by email at support@harness.io or visit the Harness Documentation for additional resources and troubleshooting guides.