Automated bug triaging and ticketing