Skip to content

Instantly share code, notes, and snippets.

SELECT p.value AS __color__,
milestone||' Release' AS __group__,
id AS ticket, summary, component, version, t.type AS type,
owner, status,
time AS created,
changetime AS _changetime, t.description AS _description,
reporter AS _reporter
FROM ticket t, enum p
join milestone m on (t.milestone = m.name)
WHERE m.due > 0 and m.completed == 0 and t.status != 'closed'