Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This validator checks the value of a field or a text composed of various custom fields against a regular expression.


Configuration

UI Expand
titleValue

Choose between the two following options:

ui-expand
Option
title
Description
Value from fieldSelect a specific field for the available list.
ui-expand
title
Set value manually (parser expression)
Enter plain text and optionally use Field codes,
An Expression* field will appear, and there you would have to enter a text, and you can also use field codes. e.g. %{issue.summary}, to insert field values.


UI Text Box
typetip

Test your expression by clicking the run button on the top right of the expression box.



UI Expand
titleRegular expression

Enter plain text and optionally use Field codes, e.g. %{issue.summary}, to insert field values.

UI Text Box
typetip

Test your expression by clicking the run button on the top right of the expression box.



UI Expand
titleAdditional options

Choose from one of the following options (multi-choice is possible):

OptionDescription
-
Case insensitive matching is done in a manner consistent with the Unicode Standard.
-
Expressions ^ and $ match just after or just before, respectively, a line terminator or the end of the input sequence. By default, these expressions only match at the beginning and the end of the entire input sequence.
-
Expression . matches any character, including a line terminator. By default, this expression does not match line terminators.
-
Input string is treated as a sequence of literal characters.
Metacharacters
Meta-characters or escape sequences in the input sequence will be given no special meaning. Case insensitive mode retains its impact on matching when used in conjunction with this mode.
-
When this option is checked, validation will be satisfied if the regular expression is NOT MATCHED by the selected field or entered parsed text.



UI Expand
titleValidation options

Choose from one of the following options (multi-choice is possible):

OptionDescription
-

If the transition is triggered by a JWT post function, the validation will be skipped.

-

If the transition is triggered by a bulk operation, the validation will be skipped.

-

If the create transition is triggered by a clone operation, the validation will be skipped.

-

f

If

the create transition is triggered by a mail handler, the validation will be skipped.



title

Location

Define where the error message should be displayed.

Enter

Message

For the message content to be displayed when an error occurs, enter plain text and optionally use Field codes, e.g. %{issue.summary}, to insert field values.

UI Expand
titleError message

Add an optional error message to show when validation fails.

UI Expand
iconfalse
UI Expand
iconfalse
titleMessage
UI Text Box
typetip

Test your expression by clicking the play button on the top right of the expression box.

UI Button
titleAdd translation

UI Text Box
iconfalse
typeinfo

Click on the Add translation button and choose the desired language to be translated to.

Translations will be displayed based on the user's language setting.



Use cases and examples

Page properties report
cqllabel = "use-case" and space = currentSpace() and parent = currentContent()


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
colourYellow
titleReady for review

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


Page properties
hiddentrue


Short descriptionOnly if a field or a parsed text matches or doesn't match a regular expression.
Label