Several predefined queries are available to help you retrieve artifacts from the index.
Predefined queries are available in the Queries page. Click the Shared Queries tab and then open the Sample folder.
If you do not see the Sample folder in the Shared Queries tab, talk to your administrator. If samples are missing, your administrator might need to deploy the content package. If you are responsible for deploying the content package, see Deploying a content export package.
The following description discloses the information gathered by each sample query.
- All Architecture Management Artifacts gathers all of the architecture management artifacts in the index.
- All Artifacts gathers all of the artifacts in the index.
- All Change Management Artifacts gathers all types of work items, such as tasks and use cases.
- All Change Management Artifacts Modified Since a Date gathers all types of work items, such as tasks and use cases, that were modified after a specified date. Users are prompted to enter a date in a date picker.
- All Quality Management Artifacts gathers all types of quality artifacts, such as quality tests and scripts.
- All Requirement Management Artifacts gathers all requirements.
- All Resource Types gathers all indexed resource types.
- All Resource Types and Properties gathers all resource types, and groups each resource with its properties.
- Recently Modified Requirements gathers requirements that were modified for a specified time period. Users are prompted to enter a duration value. See W3C XML Schema Definition Language (XSD); duration.
- Requirement Collection - Requirement gathers collections of requirements and groups associated requirements to each collection.
- Requirements - Work Items - Test Cases gathers all requirements, work items, and test cases in the index.
- Use Cases and Tasks gathers test cases and the tasks associated with each test case.
- Work Items tested by Test Cases gathers work items and their corresponding test case, along with the work item status.
After you run the query, you can act on the artifacts in the Query Result page. Click an artifact and then click the arrow to the right to show the menu. You have several menu choices, depending on the type of artifact you selected:
- Open Artifact starts the native tool that the artifact was created in and displays the artifact in the tool.
- Show Properties displays the properties of the artifact in a results window.
- Start Analysis loads the default impact analysis profile. Click Run to start the analysis.