Apps documentation
Extension for Jira Service Management
Cloud Server/Data Center
Extension for Jira Service Management

Cloud

Server/Data Center

Documentation
FAQ
Release notes
Articles & Videos
Last updated Feb 21, 2022

Configure Conditions

Instructions to configure conditions for dynamic fields

Thanks to the Dynamic Forms feature of Extension for Jira Service Management, you can set conditions for dynamic fields to tailor request forms to needs of individual requests. Conditions are rules that define whether a field is displayed in a request form based on user input in previous fields of that form.

You can set multiple conditions for a field and group them into condition blocks. You can set multiple condition blocks for a field. At least one condition in every block must be fulfilled to display the field.

Conditions within a block are in an “or” relationship, meaning that at least one condition out of the block needs to be fulfilled.

Condition blocks are in an “and” relationship, meaning that at least one condition from each condition block needs to be fulfilled.

Keep in mind, that you can condition dynamic fields based on other dynamic fields, not fields defined in the request type.

You can configure the following conditions:

Field type Condition Description Example
TextField/TextArea/RadioButton is equal The current value must be identical to the expected one “some_value” / “some_value”
not empty The current value cannot be empty “some_value”
SingleSelect is equal The current value must be identical to the expected one element / element
not empty The current value cannot be empty element
NumberField is equal The current value must be identical to the expected one 10 / 10
not empty The current value cannot be empty 5
is greater than The current value must be a higher number than expected 10 / 9
is less than The current value must be a lower number than expected 9 / 10
MultiSelect/Labels/Components not empty The current value must contain at least one element from the list of the given field element_A
contains all The current value must contain all available elements from the list of the given field. element_A, element_B, element_C / element_A, element_B, element_C
contains any At least one element of the current value must be included in the set of expected value elements. element_B / element_A, element_B, element_C

element_A, element_C, element_D / element_A, element_B
contains All elements of the current value must be included in the set of expected value element element_A, element_B / element_A, element_B
doesn’t contain None of the elements of the current value can be included in the set of elements of expected values. element_A, element_B / element_C, element_D
Fix Version/s/Affect Version/s not empty The current value must contain at least one element from the list of the given field “version1” / “version1”
contains all The current value must contain all available elements from the list of the given field. “version1”,“version2”/“version1”,“version2”
contains any At least one element of the current value must be included in the set of expected value elements. “version1”,“version2” / “version1”
contains All elements of the current value must be included in the set of expected value element “version1”,“version2”/“version1”,“version2”
doesn’t contain None of the elements of the current value can be included in the set of elements of expected values. “version1”,“version2”/“version3”
MultiCheckboxes all checked The current value must contain all available elements from the list of the given field. element_A, element_B, element_C / element_A, element_B, element_C
any checked At least one element of the current value must be included in the set of expected value elements. element_B / element_A, element_B, element_C
contains any At least one element of the current value must be included in the set of expected value elements. element_B / element_A, element_B, element_C

element_A, element_C, element_D / element_A, element_B
is checked All elements of the current value must be included in the set of expected value elements. element_A, element_B / element_A, element_B
is not checked None of the elements of the current value can be included in the set of elements of expected values. element_A, element_B / element_C, element_D
Date Picker/Date Time Picker is equal The current value must be identical to the expected one “2020-10-10 12:00” / 2020-10-10 12:00"
not empty The current value cannot be empty “2020-10-10 12:00”
is later than The current value must contain a later date than expected. “2020-10-11” / “2020-10-10”
is before request creation (+/- offset) Earlier date than the value from Created Date +/- x minutes/hours/days/weeks/months/years (Created date: 05 Apr 2019) + 3 days/“2019-04-05 12:00”
is after request creation (+/- offset) Later date than the value from Created Date +/- x minutes/hours/days/weeks/months/years (Created date: 01 Apr 2019) + 3 days/“2019-04-05 12:00”
CascadingSelect parent is equal The current value of the parent must be identical to the expected one. “2020-10-10 12:00” / 2020-10-10 12:00"
child is equal The current value of the parent and child must be identical to the expected one. parent_A_child_A / parent_A_child_A
not empty The current value cannot be empty parent_A parent_A_child_A
Attachment not empty The current value cannot be empty “extension.png”
Priority is equal The current value must be identical to the expected one “High” / “High”
not empty The current value cannot be empty “High”
Warning
As any change in a request type is automatically saved and visible in Customer Portal, we recommend to keep request forms Hidden from portal while modifying them.

Steps

To configure a condition:

  1. In Project Settings > Customer form extension, go to the desired request type and select a dynamic field.
  2. Click Conditions in the Options column.
    Extension for Jira Service Management - Conditions
    Extension for Jira Service Management - Conditions
  3. In the dialog box window, select a field which value you want to compare and a condition.
  4. Type a value for the condition in the last box.
    Extension for Jira Service Management - Condition value
    Extension for Jira Service Management - Condition value
  5. Click Save.
    Extension for Jira Service Management - Save
    Extension for Jira Service Management - Save

Result

The condition for the selected field is set. During raising a request, this field will be displayed if its conditions are fulfilled.

Need help?

If you can’t find the answer you need in our documentation, raise a support request.