Issue Tracker QueryHow to query with the IssueTrackerAbout querying the issue databaseThe Issue Tracker query form allows you to call up a subset of issues from a project's issue database. If you do not select an option, the designated default values are included in the query. Submitting a query without setting any options at all, for example, returns all project issues with a status of NEW, STARTED, or REOPENED. You can narrow query results by selecting options and/or entering information in the query form fields. You can save your results list in your bookmark file. You can also save your query configuration to reuse later. Issue query selection fieldsThe following fields are available for narrowing the query results.
Sorting and customizing query resultsBefore submitting a query, you can select to sort by issue number, importance, or assignee. After you submitted a query during an Issue Tracker login session, you have the option to "Reuse the same sort as last time." Once you view the query results, clicking on any of the column headings will sort the displayed results within that column. Using the links at the bottom of the query results page, you can also:
To add the target milestone for each issue to your query results -- and you should do so when a particular issue is slated for release --
The target milestone column will now included for all your subsequent queries because login sessions are cookie-based. You can unmark this checkbox or mark others at any time to change your customized query results. Customizing and remembering queriesOnce you've set up a fairly complex query to ferret out certain issues, you can tell the Issue Tracker to "remember" your custom queries as a time saver. Using the options just above the Submit query button, you can save your most recent query under a unique name and reuse it anytime you are logged in to the Issue Tracker. You can also change and reset the default query that the query page loads during your login sessions. To include your custom, named queries in the footer of the query page, click on the "Edit prefs" link on any of the Issue Tracker pages and select the "Page footer link". All of your named queries have the option to be included on every page or only on the query page. Tracking your own issues (or by assignee)To view a list of project issues assigned to you, click the My Issues link in the Issue Tracking page. Once you have invoked the Issue Tracker, you can also click the My issues link in the secondary Issue Tracking tool bar. You have two options for viewing other project members' assigned issues:
You can copy the URL of a query's result and paste it into an HTML file to help you create quick access tools for the project. For example, you could create a page listing project members by name with links to their specific list of issues by querying on the assigned to field for each user and pasting the resultant URL into an HTML page listing the project members. This page could then be added to the Documents and files section of the project to give members a quick and easy way of viewing the lists of issues assigned to themselves and other project members. Running queries not supported by the query fieldsYou can perform some searches that are not supported by the query form by using the issue list script to build queries based on the URL. You can add other criteria to these queries. For example, if you wanted to see all issues reported against the X platform and assigned to user "jwz," you could ask for all issues assign to jwz, then edit the URL in the "Location" box, adding the clause "&rep_platform=X-Windows" to the URL. Here is a list of some of the field names you could use for additional unsupported searches ...
Managing query resultsAfter running an Issue Tracker query, you can view or download the query results in several different formats by clicking one of the buttons below the query results table.
Format results as XMLThe Format as XML page allows you to define the file containing the XML representation of your query results. You can choose whether to include issue attachments or the DTD in your export file as well as whether to display the file in the browser or download it to your local drive. You can also define the file name. Including the DTD in the export file is provided as a convenience for those who may be unable to reference the DTD across a network. Under most circumstances, doing so is unnecessary. Reworked by Wolfram Garten
|

