Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

On this page

Table of Contents
maxLevel2
exclude(On this page|Use case).*
stylecircle
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

Use case

Validate the parent and child options of a Select List (cascading) field independently or in conjunction.



Configuration

UI Steps


UI Step
Add the Logical validator to the desired workflow transition.


UI Step

Expression

Add the following expression to evaluate both options of a Select List (cascading) custom field.

Code Block
languagebash
linenumberstrue
%{issue.cf10001cfaaaaa} = "Parent option - Child option"


UI Text Box
typenote

Please, note that your custom field might have a different ID than the one in the example and the options between quotation marks might also be different. Replace them before testing the expression if necessary replace the ID of the field code before testing the expression and note that the parent option must be separated from the child option with a hyphen "-" surrounded by two spaces.


UI Expand
expandedtrue
titleVariations

By adding .0 or .1 to the field code of the custom field, the respective values of the parent option and child option can be accessed.

UI Steps


UI Step

For accessing the parent option:

Code Block
languagebash
%{issue.cf10001cfaaaaa.0} = "Parent option"



UI Step

For accessing the child option:

Code Block
languagebash
%{issue.cf10001cfaaaaa.1} = "Child option"










Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
sortByTitle
cqllabel = "use-case-workflow" and ancestor = "27066629"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow functionLogical validator Logical condition
Use case descriptionValidate the parent and child options of a Select List (cascading) field independently as well as in conjunction.
Parser functions
Label




Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged