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

Prevent a transition if the number of components selected is less than 2.

Configuration

UI Steps
UI Step

Add a Logical validator to the transition of your choice.

UI Step

Expression

Enter the following parser expression.

Code Block
languagebash
linenumberstrue
numberOfSelectedItems(%{issue.components}) >= 2
UI Step

Error message

Optionally, enter an error message.

Code Block
languagetext
linenumberstrue
 The number of components selected is less than 2.


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

Image Added

Workflow function

Logical validator

Logical condition

Parser functionsnumberOfSelectedItems()
Label