Xcode auto-hide warnings when build fails

Whenever a build fails I always filter out the warnings to show just the errors, I would like to automate this action though. I looked into Xcode behaviors and I can change the navigator to the warnings screen but I'm not seeing a option to apply that filter. Is there a way I can add this functionality or will I need to file a request with Apple?