| 1 | = Ticket Queries = |
| 2 | |
| 3 | In addition to [wiki:SystemReports reports], Trac provides support for ''custom ticket queries'', used to display lists of tickets meeting a specified set of criteria. |
| 4 | |
| 5 | To configure and execute a custom query, switch to the ''View Tickets'' module from the navigation bar, and select the ''Custom Query'' link. |
| 6 | |
| 7 | == Query Form == |
| 8 | |
| 9 | 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. |
| 10 | |
| 11 | == Results Display == |
| 12 | |
| 13 | 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. |
| 14 | |
| 15 | You can edit the query by clicking ''Refine Query''. |
| 16 | |
| 17 | ---- |
| 18 | See also: SystemTickets, SystemReports, SystemGuide |