Define a query

This tutorial shows you how define a query that help desk analysts can run to retrieve a list of all high priority issues assigned to them. Because the query should find open high priority issues, we'll copy the My Open Issues query and then add to it.

1 

Create a new query

  1. Start Issue Tracker Admin and log on. In the Project list, click a project. On the Project menu, click Query Editor.

  2. In the Name list, click My Open Issues. Then click Copy Query and type a name for the query (for example, "My High Priority Issues").

2 

Add rows to the query

  1. In the second row, click the Operator box, click the arrow, and then click And.

  2. Add two more rows to the query. Each of these new rows will test the value of the Priority field.

    To add a row, just click in the Field Name box of the empty last row, click the arrow to display the list of fields, and then click Priority. Then select the Test, Value, and Operator values until your query looks like this:

  3. Click anywhere in the second Priority row and then click Add() . Your query should now look like this:

    And the code view of the query should look like this:

3 

Save the query

Click Apply to save the query.

4 

Regenerate the Web views of the project

After you define a new query, you must regenerate the Web views to make the query available to users. Don't forget to export the query before regenerating.

 
Back to top