To add a global query to your project:
- Navigate to your project.
- Click the link Query Artifacts in the project homepage.
- Click the link Add Global Query Templates. The global queries that include one or more of the artifact types that are used in the project are listed.
- Select one or more of the global queries and click Add Selected. Now the global query is available in your project as a project query.
- Now this project query is listed in the Saved Query List page.
Note: Once you have added a global query to your project, the same query can be added again as long as you change the name of the query.
Querying artifacts for personal information
- Log in to CollabNet and create a global query.
- Create a project in CollabNet with Project Tracker as the tracking component.
- Click Project Tracker > Query Artifacts from the project's left navigation pane.
- Click Add Global Query Templates. You will see the global query that has been created.
- Check the box under Select and click Add Selected.
- To edit the query click the Edit link on the Project Tracker: Saved Queries page.
- Scroll down the page and under Personal Associations, click Edit List.
- You will see a page which shows a value "<current user>" under the Special Values tab, where " <current user> " is the person executing the query.
- Check the box under Select.
- You can associate the current user by selecting any one of the five options:
- Any
- Created By
- Assigned To
- CC
- QA Contact
- Click Add Selected after you have made your choice.
- Click done to complete the process.
- Save the query.
- Executing the same project level query as different user will give you the corresponding results.