| 1 | = Trac Ticket Queries = |
| 2 | [[TracGuideToc]] |
| 3 | |
| 4 | In addition to [wiki:TracReports reports], Trac provides support for ''custom ticket queries'', used to display lists of tickets meeting a specified set of criteria. |
| 5 | |
| 6 | To configure and execute a custom query, switch to the ''View Tickets'' module from the navigation bar, and select the ''Custom Query'' link. |
| 7 | |
| 8 | == Query Form == |
| 9 | |
| 10 | A form will be presented, letting you select or enter values for any of the ticket properties (both built-in and custom). Any value selected/entered in this form will be used to constrain the set of tickets displayed. Only tickets where properties match the criteria will be displayed. |
| 11 | |
| 12 | == Results Display == |
| 13 | |
| 14 | After executing the search, a list of tickets meeting the selected criteria will show. By default, the list is sorted by priority. You can change the sorting to any other visible column by clicking on the corresponding column header. Clicking the same header again will reverse the sort order. |
| 15 | |
| 16 | You can edit the query by clicking ''Refine Query''. |
| 17 | |
| 18 | ---- |
| 19 | See also: TracTickets, TracReports, TracGuide |