Appendix 3 Searching for Tickets
Quick search by ticket number On every screen in RT there is always a search box in the top right corner. This box can search for ticket number only. This is useful if you know the number of the ticket you wish to retrieve. The search will return all details of that ticket, even for 'deleted' tickets. Enter a ticket number in the box and click the 'Search' button. The search above would return details of ticket number 20361. Detailed Searches The search interface is available within every queue. Click Ticket -> New Search from the Left Hand navigation column to start a new search. One important point to be aware of is every ticket listing is a search of some description. The default search criteria set for every queue is to show all tickets matching:
for whichever queue you are viewing. The current search criteria are always listed under Current search criteria. In the example below, current search criteria are blank as no search has been requested at this stage.
The search above would return all tickets in the adm-apps-pg-personal queue owned by Roger Peabody. Below is a list and explanation of each Search criteria:
Searching is pretty intuitive however there are some points worth noting:
Bookmarking Searches
Searches are bookmarkable. If you do a fairly complex search pattern or one that you perform often it can be bookmarked for future use. Use this procedure to bookmark:
The search criteria you selected will now be saved. To retrieve the search, select the URL from your Favorites or Bookmarks. If you are already logged into RT, the search will run and retrieve all tickets that match the criteria you have saved. If you select the search from your favorites/bookmarks whilst not logged into RT, you will be prompted to log-in. The search will run as soon as you have logged in. Time and Date searching criteria
RT allows for numerous time and date formats to be used in search criteria. This make it very easy to search for tickets relative to the current date and/or time. You can use dates to search 'Before', 'On' or 'After' the following ticket properties: Created, Started, Resolved, Last Contacted, Last Updated, Starts, Due, Updated. Absolute formats:
Because we are UK based, UK style dates take precedence if there is a potential clash with USA style dates. All the following formats are valid date strings where: dd = numeric day, mm = numeric month, yy = 2 digit year, yyyy = 4 digit year, mon = 3 char month, month = full name of month
Relative Formats:
We have units of 'days', 'weeks', 'months' and 'years' and a prefix action of 'last' or a numeric. Can also use 'now', 'today' and 'yesterday'. Postfix of 'ago' can also be used. Relative units are specific to the current time of day. So 'yesterday' means from this time yesterday.
Times can also be treated in a similar fashion: The format for absolute time specification is:
The format for relative time specification is the same as for date specification
Things to Note
Whenever a search is performed the parameters of the search are always listed in the Current Search Criteria field. Individual search criteria can be deleted which will update the view of tickets accordingly. Time and date searches always return the time in seconds since January 1st 1970 (known as epoch time). This is then converted into a readable date and time string and will be shown with the other search parameters in the Search Criteria field. If you have entered a time/date search parameter incorrectly then the result returned will be shown as 1970-01-01 00:00:00 GMT. If you get this simply delete and start again. Date/time ranges can be searched in two stages. Specify one date to search from then search again for another date to search to. This will work because the searches are sticky. |