Skip to main content

Configure Runbook Inputs & Outputs

Setting Incident Context

To ensure the correct fields are available in the data picker:

  1. Open your runbook in the editor
  2. Go to the Input/Output section (top of the page)
  3. 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
  4. 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
  5. 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

info

Need Help? Contact our support team by email at support@harness.io or visit the Harness Documentation for additional resources and troubleshooting guides.