Skip to content

Instantly share code, notes, and snippets.

View gist:4266171
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'