You are viewing documentation for the older version of YouTrack!
compared with
Current by Ekaterina Ivanova
on Sep 01, 2010 20:29.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View Page History
{toc}

{hidden-data}
h2. Search Query Operators and Specific Symbols

|| Operator \\ or \\ symbol || \\ Description || \\ Sample query ||
| {{-}} | The minus sign allows excluding | |
| {{OR}} | | |
| {{,}} | The comma allows | |
| {{..}} | | |
| {{\#}} | | |
| \{ \} | | |
{hidden-data}
| {{-}} | The minus operator allows excluding a subset from a set of search query results. Note that using this operator with an attribute value doesn't require that you precede it with a hash mark. | Find all unresolved issues except for issues with minor priority; sort the list of results by priority in ascending order: {code}#unresolved -minor sort by: priority asc{code} |
| {{OR}} | This operator allows you to combine multiple search attribute subsets thus expanding the search request. | Find all issues in project "TEST" assigned to the current user or issues tagged "to be tested" (in any project):{code}in: TEST for:me or tag:{to be tested}{code} |
| {{,}} | The comma allows listing several values for an attribute. Can be combined with a range. | Find all issues assigned to, reported or commented by the current user, which were created yesterday and today: {code}#my created:Today,Yesterday{code} |
| {{..}} | Two-dots sign between two values defines a range of values. | Find all issues fixed in version 1.2.1 and in all versions from 1.3 to 1.5: {code}fixed in: 1.2.1, 1.3..1.5{code} |
| {{\#}} | The hash symbol should precede [#Shortcut Keywords] and single values. | Find all unresolved issues in project "MRK", which were reported by, assigned to, or commented by the current user: {code}#my #unresolved in:MRK{code} |
| \{ \} | Curly braces should surround attribute values with spaces. | Find all issues with state "Fixed" and tagged "to be tested": {code}#Fixed tag: {to be tested}{code}|

h2. Shortcut Keywords