Several predefined queries are available to help you retrieve
artifacts from the index.
Predefined queries are available in the Shared Queries page.
Click the Shared Queries tab and then open
the Sample folder to run a query.
Predefined queries are also available in the Artifact
Elements Queries page. Click the Artifact Elements
Queries tab and then open one of the five default folders
to run a query.
If you do not see the Sample folder in the Shared
Queries tab, or the five default folders in the Artifact
Elements Queries tab, talk to your administrator. Your
administrator might need to deploy one or both content packages. If
you are responsible for deploying the content package, see Deploying a content 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.
The five default artifact elements query folders are Change Management,
Design Management, Products, Quality Management, and Requirement.
Each folder contains queries that gather artifacts specific to the
folder type. For example, the Products folder
gathers artifact elements that have a relationship to the specified
configuration or product.
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.
- Open View starts a view selector where
you can choose a view to visualize the selected artifact as a parameter.