Open Tickets, Changed/created In The Last 10 Days
Join the DZone community and get the full member experience.Join For Free
There might be a more optimized version of the date selection, but this is easy for humans to read.
SELECT p.value AS __color__, id AS ticket, summary, component, version, t.type AS type, owner, status, time AS created, changetime AS _changetime, description AS _description, reporter AS _reporter FROM ticket t, enum p WHERE status <> 'closed' AND unix_timestamp(date_sub(now(), interval 10 day)) < changetime AND p.name = t.priority AND p.type = 'priority' ORDER BY changetime desc
Opinions expressed by DZone contributors are their own.