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 issues from being created if their description contains less than 100 characters regardless of special characters and spaces.


Configuration

UI Steps


UI Step

Add the Logical validator to the Create workflow transition.


UI Step

Expression

Enter the following expression:

Code Block
languagebash
linenumberstrue
length(replaceAll(%{issue.description}, "[^a-zA-Z_0-9]", "")) >= 100


UI Expand
titleVariation

If you need to include the spaces in the total number of characters, you can enter the following expression instead:

Code Block
languagebash
linenumberstrue
length(replaceAll(%{issue.description}, "[^a-zA-Z_0-9\\s]", "")) >= 100






UI Step

Error message

Enter an error message as the following one.

Code Block
languagec#
linenumberstrue
The issue description must include more than 100 characters.





Related use cases

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


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Logical validator

Parser functionsreplaceAll() length()
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