|
Keywords
|
Required
|
Description
|
|---|---|---|
|
SELECT
|
Optional
|
Defines the fields to display in the query results. You can include aggregation functions, filters, or field alias names.
|
|
WHERE
|
Required if SELECT is used
|
Specifies the conditions that filter tracker items.
|
|
GROUP BY
|
Optional
|
Groups the filtered results by a specified field or alias.
|
|
ORDER BY
|
Optional
|
Sorts the results by one or more fields in ascending (ASC) or descending (DESC) order.
|
SELECT assignedTo as 'Assigned to' WHERE storyPoints > 2 GROUP BY assignedTo ORDER BY summary DESC
|
Keyword
|
Effect
|
|---|---|
|
SELECT assignedTo AS 'Assigned to'
|
Displays the assignedTo field with the column label Assigned to.
|
|
WHERE storyPoints > 2
|
Returns only tracker items where the storyPoints value is greater than 2.
|
|
GROUP BY assignedTo
|
Groups the returned items by the assignedTo field.
|
|
ORDER BY summary DESC
|
Sorts the grouped results by the summary field in descending order.
|