-- ## 20: Gap Analysis Tickets Reported By John Chung ## -- -- Gap analysis tickets reported by John Chung SELECT p.value AS __color__, id AS ticket, summary, status, priority, t.type AS type, component, version, time AS created, milestone, changetime AS _changetime, t.description AS _description FROM ticket t LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority' WHERE status IN ('new') AND t.type in ('gap') ORDER BY created DESC