Is there any way to tell the TicketQuery() macro to exclude the ticket it 
expands within? What I would like to do is have a generic TicketQuery() 
that gives the compact format list of all tickets in the same component or 
milestone as the current ticket, but excluding the current 
ticket. Currently we have many different queries and they all look more or 
less like the following:

  [[TicketQuery(id!=1215,component=test,format=compact)]]

Ideally I could pick up both the current ticket ID and the current ticket 
component (or milestone, or whatever field I want to query against). 
However, I am fairly sure I have no way to get these parameter values. In 
any case, the component, milestone, or version are consistent across many 
tickets so it is pretty easy to get that part right. 

The ID, on the other hand, has to change with every ticket. 
And, TicketQuery() does seem to know about the current ticket ID because in 
the table format it flags "(this ticket)". So, I was hoping I could 
eliminate the per-ticket modifications of the id!=<current ticket number>. 

Ian Lewis
www.mstarlabs.com


-- 
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/d/optout.

Reply via email to