You can filter by custom ticket fields when building or editing Zendesk Support widgets.
Add or Edit a Zendesk Support widget.
In the widget configuration panel, click Filter.
From the list of filters, scroll down and select your chosen custom field.
Select from either is or is not from the filter operator field.
Select one or more Field values to add to your filter.
Click Apply to create the filter.