I have managed to produce a report with the Workflow State column,
however all the values in the column are "None".  I know there are
actual values including Tested, Analyzed, etc.  Any idea how I can get
the actual values to show up?

SELECT p.value AS __color__,
   c.value AS "Workflow State",
   id AS ticket, summary, component, version,
   milestone, priority, t.type AS type,
   (CASE status WHEN 'assigned' THEN owner||' *' ELSE owner END) AS
owner,
   time AS created,
   changetime AS _changetime, description AS _description,
   reporter AS _reporter
  FROM ticket t, enum p
    LEFT OUTER JOIN ticket_custom c ON (t.id = c.ticket AND c.name =
"Workflow State")
  WHERE status IN ('new', 'assigned', 'reopened')
AND p.name = t.priority AND p.type = 'priority'
  ORDER BY p.value, milestone, t.type, time


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to