-- ## 13: Easy tickets ## -- -- -- This report shows how to color results by priority, -- while grouping results by version. -- -- Last modification time, description and reporter are included as hidden fields -- for useful RSS export. SELECT component AS __group__, id AS ticket, summary, t.type AS type, severity, tc.value as difficulty, time AS created, changetime AS _changetime, description AS _description, reporter AS _reporter FROM ticket t, ticket_custom tc WHERE status <> 'closed' AND priority != 'low' AND tc.name = 'difficulty' AND tc.value IN ('very easy (<1 hour)', 'easy (<4 hours)') AND t.id = tc.ticket ORDER BY component, tc.value, severity, time