Navigation


Changes between Version 3 and Version 4 of TracQuery


Ignore:
Timestamp:
Jul 22, 2013, 11:37:02 PM (11 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracQuery

    v3 v4  
    3333''Note:'' one way to easily build queries like the ones below, you can build and test the queries in the Custom report module and when ready - click ''Save query''. This will build the query string for you. All you need to do is remove the extra line breaks.
    3434
     35''Note:'' you must have the '''REPORT_CREATE''' permission in order to save queries to the list of default reports. The ''Save query'' button will only appear if you are logged in as a user that has been granted this permission. If your account does not have permission to create reports, you can still use the methods below to save a query.
     36
     37
    3538=== Using TracLinks ===
    3639
     
    6568  [[TicketQuery(version=0.6|0.7&resolution=duplicate)]]
    6669
    67 Just like the [wiki:TracQuery#UsingTracLinks query: wiki links], the parameter of this macro expects a query string formatted according to the rules of the simple [wiki:TracQuery#QueryLanguage ticket query language].
     70Just like the [wiki:TracQuery#UsingTracLinks query: wiki links], the parameter of this macro expects a query string formatted according to the rules of the simple [wiki:TracQuery#QueryLanguage ticket query language]. This also allows displaying the link and description of a single ticket:
     71{{{
     72[[TicketQuery(id=123)]]
     73}}}
     74
     75This is displayed as:
     76  [[TicketQuery(id=123)]]
    6877
    6978A more compact representation without the ticket summaries is also available: