1

in my trac installation I'm looking for a way to show Active tickets in a section of the homepage. How could I do this?

Thanks

j08691
  • 204,283
  • 31
  • 260
  • 272
Paolo
  • 20,112
  • 21
  • 72
  • 113

2 Answers2

5

I think the TicketQuery Macro does what you want. For example add the following to the wiki page to get all open tickets sorted by ticket#:

[[TicketQuery(status=new|assigned|reopened|accepted&order=id)]]
wimh
  • 15,072
  • 6
  • 47
  • 98
  • 1
    If prefer `!closed`: `[[TicketQuery(format=table&status=!closed)]]` That way if a new non-closed status is added, it will be included. – Tim Oct 21 '13 at 08:33
1

I think you'd want to look into writing a trac plugin. There's an example on Trac Hacks that seems like it might be a good starting point for what you're looking to do: Watchlist Plugin

stderr
  • 8,567
  • 1
  • 34
  • 50