SELECT COUNT(*) FROM (
SELECT p.value AS __color__,
id AS ticket, summary, component, version, milestone, t.type AS type, severity,
owner, status,
time AS created,
changetime AS _changetime, description AS _description,
reporter AS _reporter
FROM ticket t, enum p
WHERE status <> 'closed'
AND p.name = t.priority AND p.type = 'priority'
AND milestone = 'ASAP 2.1'
ORDER BY p.value, milestone, severity, time
) AS tab
Note:
See TracReports
for help on using and creating reports.