Currently, we can only add asset.host_name as a variable in ticket title for event type solutions. Some assets do not have associated hostnames and you should be able to use a condition where it uses asset.host_name and then falls back to asset.ip.