-- ## 3: tickets which need fixing for upcoming releases ## -- -- -- Tickets are colored by priority and grouped by milestone. -- -- Description is included as a hidden field for useful RSS export. SELECT p.value AS __color__, milestone AS __group__, id AS ticket, summary, component, severity, priority, t.type AS type, owner, status, time AS created, changetime AS modified, t.description AS _description, reporter FROM ticket t LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority' WHERE status <> 'closed' AND `milestone`<>'' ORDER BY (milestone IS NULL),milestone, p.value, t.severity, id DESC, t.type, time