For example, you can search for defects with Status attributes that have changed from New to Open. You can specify a date range for the change. For example, you can find artifacts that have changed from a low severity to a high severity within the last week. By default, the attribute and values fields are empty. To create an attribute change query, select an attribute name and click the Update button. The valid values for the attribute become available for selection in the From Value and To Value fields.
When you perform a query, you can select the attributes you would like included in the query based on their values. You can also state what attributes you would like explicitly excluded from the query based on values they may or may not hold. It would be incumbent on the query to return results which is a combination of two or more of these criteria.
For example, to query for artifacts where a value has not been selected for an attribute, you can create a query to find all of the defect artifacts where "Operating System" has not been selected. In the same query, you can stipulate that all artifacts that have their short text fields not filled in should be displayed. To combine these two query criteria, the results will contain all artifacts which do not have the Operating System specified and the short text field not filled in.
To specify the query criteria: