You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

This condition evaluates the comparison of two (field) values

Configuration

Field

Define the first of the two values that should be compared by selecting it from the list of available fields.

Depending on the type of the field you have selected only certain operators and fields in the comparison value field selector are available.

Operator

Select how to compare the two given values. Choose from one of the following options:

OptionDescription

=

The first value must be equal to the second value.

!=

The first value must not be equal to the second value.

<

The first value must be less than the second value. This is typically used for comparing numeric or date-time values.

>

The first value must be greater than the second value. This is typically used for comparing numeric or date-time values.

<=

The first value must be less than or equal to the second value. This is typically used for comparing numeric or date-time values.

>=

The first value must be greater than or equal to the second value. This is typically used for comparing numeric or date-time values.
~The first value must contain the second value. This is typically used for lists as field value to compare. The comparison value is a text.
!~ The first value must not contain the second value. This is typically used for lists as field value to compare. The comparison value is a text.

In case you have selected a field of the type LIST or TEXT, only the equalnot equal, contains and not contains operators are available. Lists may contain duplicate values.
For fields of type BOOLEAN, only the equal and not equal operators are available.

Comparison value

Define the second of the two values that should be compared either by selecting it from the list of available fields or by entering a literal value. You can switch between the two option by using the radio button which offers the options

  • "Select the field to compare the value with.This is the preselected default value.
  • "Enter the custom comparison value." In this case a text editor opens where you can enter the comparison value manually.


The most common use case is to compare a field values provided by field codes.

If you need to compare multiple values or construct more complex comparisons make sure to have a look at the Jira expression condition.



If you still have questions, feel free to refer to our support team.