On Friday, July 19, 2013 5:08:43 PM UTC-7, Dan Harlacher wrote: > I'm having trouble getting the TracTicketStats to filter based on my query > arguments. I have it installed and it is drawing a chart with the proper > date range and title but appears to be ignoring my query. The example in > the docs is in this format > > [[TicketStats(title = Error tickets by week last 3 months, > daterange=3m,res_days=7, query=Type='error')]] > > So I used this as the template for the chart I wanted to create and used > this. > > [[TicketStats(title=Bug Trend for Last 60 Days, daterange=2m, res_days=7, > query=type=‘Bug')]] > > we have a type field where Bug is an option... > > The results come back with the total number of tickets as well as open and > closes for everything, not just tickets whose type is Bug. So I tried a > couple of options that I thought would be closer to TracQuery formatting > and it never changed. > > [[TicketStats(title=Bug Trend for Last 60 Days, daterange=2m, res_days=7, > query:?type=Bug)]] > > or > > [[TicketStats(title=Bug Trend for Last 60 Days, daterange=2m, res_days=7, > query:type=Bug)]] > > > Any guidance you can offer would be appreciated. >
For reference, the related ticket is http://trac-hacks.org/ticket/11241 -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/groups/opt_out.
