Skip to content

Commit 2a44328

Browse files
committed
docs: new example, summary issue2550698 - Document the logical expression search a bit
1 parent 510baf4 commit 2a44328

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

doc/user_guide.txt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,10 +476,21 @@ this is the same as: ``not (user3 or user1)`` which is expressed in
476476
RPN as ``creator=3,1,-4,-2``. Compare this to ``creator=3,1,-2`` which
477477
returns issues created by user3 or any user other than user1.
478478

479+
Another example, useful when filtering issues, is:
480+
481+
keyword=-1,-2,1,8,-3,-2,-3
482+
483+
which returns issues that have one or more keywords set and the issue
484+
does not have keyword1 and keyword8 both set. In more standard infix
485+
form:
486+
487+
not empty and not (keyword1 and keyword8)
488+
479489
Typing these expressions manually can be tiresome, so there's an
480490
expression editor on the search page. You can access it by clicking on
481491
the ``(expr)`` link, which makes creating these expressions a bit
482-
easier.
492+
easier. But at least you can use this info to understand the search
493+
syntax in the URL.
483494

484495
Using the Classhelper
485496
---------------------

0 commit comments

Comments
 (0)