The logicalÂ parsing mode is used to construct logical expressions.
To construct these logical expressions, you can combine different elements, such as field codes,Â JWT expression parser functionsÂ and operators. TheÂ result must always return one of two distinct BOOLEANvalues:
true
or
false
.Â
The main JWT features where you will be using the logical parsing mode are:
 Conditional execution
 Logical condition
 Logical validator
 Boolean condition
 JWT JQL functions
Example expressions
Parser expression  Description 

3 < 5  This example returns:

3 > 5  This example returns:

Expressions can be combined or linked using operators to construct complex logical comparisons.
Parser expression  Description 

3 < 5 AND 7 > 5  This example returns:

%{issue.assignee} = %{issue.reporter}  This example returns:

Comparison operators
The operators, their meaning and the applicable data types you can use them with are listed below.
A comparison always returns a BOOLEAN value.
Logical operators
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:
 a boolean value
 a JWT expression parser function returning a boolean value
 a comparison
 a logical term enclosed by brackets ()
 two logical terms connected with a logical operator, where boolean literals and comparisons themselves are logical terms.
Logical operators can only be used in logical expressions in the Logical mode or in combination with the conditional operator.
Conditional operator
The conditional operator
?
:
is a powerful operator to construct conditional expressions.
It basically allows you to construct the following expression: IF logical_expression true
THEN term_1 ELSE term_2.
<logical_expression> ? <term_1> : <term_2>
The conditional operator is extremely helpful when being used in calculated fields.
If you still have questions, feel free to refer to our support team.