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 Select how to retrieve the value that will be checked against the regular expression. You can choose between the two following options:

OptionDescription
Value from field
Select
If you select this option, you can select a specific field
for the available list
in a subsequent step. The value of this field will be evaluated against the regular expression.
Set value manually (parser expression)
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

You can enter the text to be evaluated against the regular expression using an expression in Basic text mode

Include Page
DECADIS:_snip_generic_expression_editor
DECADIS:_snip_generic_expression_editor

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



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

The expression will be used to match the substring in the selected target field.

UI Expand
titleRegular expression

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

UI Text Box
typetip


UI Expand
titleAdditional options

Choose from one of the following options (multi-choice is possible):additional options to further refine how to evaluate the value against the regular expression. 

OptionDescription

Case insensitive

Case insensitive matching is done in a manner consistent with the Unicode Standard.

The evaluation will ignore the case of the input value

Multiline

Expressions

Characters ^ and $ match just after or just before, respectively, a line terminator or the end of the input sequence. By default, these

expressions

characters only match at the beginning and the end of the entire input sequence.

Dot all

Expression

"." matches any character, including a line terminator. By default, this

expression

character does not match line terminators.

Literal

Input string is treated as a sequence of literal characters.

Meta-characters

Metacharacters 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.

Negate condition

When this option is checked, validation

The condition will be

satisfied

met if the provided regular expression

is NOT MATCHED by the selected field or entered parsed text

does not match.



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

UI Expand
titleValidation options

Include Page
DECADIS:_snip_skip validation
DECADIS:_snip_skip validation

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.


Add an optional error message to show when validation fails.

Location

Define where the error message should be displayed.

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

Include Page
DECADIS:_snip_error_message_validator
DECADIS:_snip_error_message_validator


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.

If you want to use this functionality in a condition instead, have a look at the Condition based on regular expression.



Use cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
cqllabel = "use-case-workflow" and space = currentSpace() and parent = ancestor in ("32213790",currentContent())


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titletododone

Style guide

Status
colourYellowGreen
titleReady for reviewdone

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 Evaluate (field) values against a regular expression.
Label




Page properties
hiddentrue
id1


Mapped(error)
Notes

Currently, this validation option is not available on JWT Cloud, only in server.