The logical parsing mode is used to construct logical expressions that will always return or accept one of two distinct BOOLEANvalues: true
or false
.
It comes with defined syntax that allows you to write JWT expression parser functions.
Example expressions
Parser expression | Description |
---|---|
3 < 5 | This example returns:
|
3 > 5 | This example returns:
|
"It is Monday" | This example returns:
|
Expressions can be combined or linked using operators to construct complex logical comparisons.
Parser expression | Description |
---|---|
"It is Monday" AND "It is Sunday" | This example returns:
At least if you are looking at a single time zone. |
"It is Monday" OR "It is Sunday" | This example returns:
|
Logical expressions, which can currently be used in the logical parsing mode are built using the following components:
Basic elements
The table below lists all simple elements or operands that can be used in a logical expression. NEEDS TECH REVIEW
The operators, their meaning and the applicable data types you can use them with are listed below. A comparison always returns a BOOLEAN value. The table below lists all logical operators that can be used for linking logical terms in an expression. Logical operators take logical terms (which return BOOLEAN values) as operands and can thus be built using: Logical operators can only be used in logical expressions in the Logical mode or in combination with the conditional operator. The conditional operator It basically allows you to construct the following expression: IF logical_expression The conditional operator is extremely helpful when being used in calculated fields.Comparison operators
Logical operators
Conditional operator
?
:
is a powerful operator to construct conditional expressions.true
THEN term_1 ELSE term_2.<logical_expression> ? <term_1> : <term_2>
Jona Ittermann , Thorsten Letschert : Kleiner Mini-Screencast? Construct a logical expression (e.g. issue.priority = "High" OR xyz) AND count(subtasks()) >= 3 mit kurzer Einblendung der jeweiligen Elemente?