Queries (7.9) #937467/HEAD / v234 |
Tags:
not added yet
Queries (7.9)Since 8.0 Queries functionality has been renamed to Reports and has extended functionalities and completely changed user interface, see here ReportsTable of Contents
Handling QueriesBy default Queries opens a New Query, you can create simple queries via the query condition editor or complex queries in advanced mode using the cbQL syntax.
When first saving your query you need to give it a name and optionally you can add roles from projects that you want to share the query with and a description.
Two kind of access level can be assigned: read and write, write also gives read permission. When assigning permissions you select a project you have access to and then select one or multiple roles, select access level and press the add button. After the first save you can simply update your query with the save button the properties window will not popup, if you want to modify other aspects of the query you can use the context menu.
My Queries
In the my queries section you have predefined queries and starred queries.
Find QueriesYou can find queries that you created or that are shared with you, you can also star and unstar them.
Export to ExcelQueries can be also exported to excel:
There are three types to export to excel:
Queries widgetYou can use the Query widget to easily build your own Query. The widget is for adding different (mostly useful) conditions without you have to type cbQL language syntax.
By default you can see the Project, the Tracker and the Status selectors. Furthermore you can add the following conditions by using the condition context menu clicking the button inside the widget:
Between the selected conditions there is AND connection, and where you can choose multiple values from a list, there is OR connection between the selected values. Example: you select one project (projectId = 123), one tracker (trackerId = 456), and in the Status selector two status meanings, Resolved and Closed. In this case the operators between the conditions look like: project.id = 123 AND tracker.id = 456 AND (workItemStatus = 'Resolved' OR workItemStatus = 'Closed"). Except Reference to and Reference from options all options can be selected only once in one Query. If a condition is already present in the widget, you are not able to select once more (they will be disabled in the context menu). You are able to remove conditions by clicking the button next to each condition boxes. If you are ready setting the desired conditions, click on button to see the result. Type of the conditionsProject/Tracker selectorsYou can filter the tracker items firstly by projects and then by trackers. At the beginning of the project list you can see your recently visited projects, after the other projects. Once you choose some projects in project selector, the tracker selector will be refreshed by the selected projects. If you have many projects/tracker, you can filter the lists by starting type in Filter input box inside the selectors.
Field value/meaning type selectorsThe following conditions belong to this selectors: Category, Priority, Resolution, Severity, Status. The possible values of these fields depend on which trackers are selected in the Tracker selector, in the list you will see the field values grouped by the selected trackers. Once you select or deselect tackers in Tracker selector, these fields will be refreshed automatically and will show always a consistent state. Furthermore if you select Status or Resolution, you can filter also by meanings of the field values. The Status and Resolution meanings for values can be set on Tracker customization page. On Query widget the meanings do not depend on selected trackers, have fix values, which are the followings:
You also can use the Filter option inside these selector for filtering meanings / field values. User type selectorsThe following conditions belong to this selectors: Assignedto, Owner, Submitted by. By selecting these conditions, you will see a list of users and roles (except Submitted by) depending on which projects are choosen in the Project selector. If you does not select any projects, you will not see any roles, and all of the visible members of the projects assigned to the current user will appear. At the beginning of the values there is a "Me" option which means the current user. The values of these fields are also refreshing automatically if you change projects in the Project selector. Three properties of the users are appearing in the list: the user name (or user alias configured in general.xml), the real name, and the domain of the user's email address. You can filter by these three properties if you begin to type in the Filter input box inside the selector.
Date conditionsThe following conditions belong to this selectors: End Date, Modified at, Start Date, Submitted at. By selecting date conditions, you will see a small control box, in which you can set your date ranges. Two options are available:
You can use only one of these options. Text conditionsThe following condition belongs to this selector: Summary. You can filter by summary (name) field of the tracker items. SQL wildcards and negation are allowed to use here. Example: if you would like to see tracker items where the summary not contains "test", you should type here: "%test%" and check the "not" checkbox.
Number field conditionsThe following condition belongs to this selector: Story Points. You can filter by Story Points field of tracker items. You should set the operator (greater than >, greater than or equals to >=, equals =, less than or equals to <=, less than <) and the integer number.
Reference conditionsThe following condition belongs to this selector: Reference from, Reference to. You are able to filter tracker items by downstream and upstream references. By clicking a selected reference type conditions, a small overlay opens, in which you can set the desired referring tracker items. Firstly you have to select one ore more project(s) then one or more tracker(s), and then you can use the autocomplete field or the pencil icon to select the tracker items. Only valid items will appear, so according to the selected trackers. Between the selected items there will be OR connection. You are able to add more Reference to and Reference from conditions to be able to perform the AND connection.
Order byIt is able to order the result by the followings:
You can define here reverse order by switching on the DESC checkbox. You are able to add more Order by options, the order of this options will define the ordering of the result table. Advanced modeThe Query widget with the conditions is just for helping define the most useful queries without learning and typing cbQL query language, but does not contain all of the functionalities what cbQL language knows. There is an Advanced mode where you can define cbQL expression whatever you want, just click on Advanced in the right side of the widget container. You can see more details about cbQL language here: cbQL.
Known limitations
|
Fast Links
codebeamer Overview codebeamer Knowledge Base Services by Intland Software |
This website stores cookies on your computer. These cookies are used to improve your browsing experience, constantly optimize the functionality and content of our website, furthermore helps us to understand your interests and provide more personalized services to you, both on this website and through other media. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click accept to consent to our and our partners’ processing as described above. Please be aware that some processing of your personal data may not require your consent, but you have a right to object to such processing. By using our website, you acknowledge this notice of our cookie practices. By accepting and continuing to browse this site, you agree to this use. For more information about the cookies we use, please visit our Privacy Policy.Your preferences will apply to this website only.
Note that user-behavior analytics are being captured on this server for the purpose of improving the Codebeamer user experience.