[refactor] Replaced explicit ticket query with call to Project#open_tickets