Changes between Version 1 and Version 2 of TracQuery
- Timestamp:
- 06/19/15 06:39:13 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracQuery
v1 v2 33 33 ''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. 34 34 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 35 38 === Using TracLinks === 36 39 … … 65 68 [[TicketQuery(version=0.6|0.7&resolution=duplicate)]] 66 69 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]. 70 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]. This also allows displaying the link and description of a single ticket: 71 {{{ 72 [[TicketQuery(id=123)]] 73 }}} 74 75 This is displayed as: 76 [[TicketQuery(id=123)]] 68 77 69 78 A more compact representation without the ticket summaries is also available: