Versions Compared

Key

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


Page properties
hiddentrue
StatusTech review

Status
titletodo

Style guide

Status
colourYellow
titleReady for review

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

Panel

On this page

Table of Contents
exclude(On this page).*
stylecircle
typeflat
separatorpipe

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.


Image AddedConfiguration

ui-text-boxexpand
typetitlenote

In this documentation and the condition configuration you will notice the symbol ( * ) next to some parameters, it means that this field is mandatory and shall not be left empty. Fields without the symbol are optional.

Basic configuration*

Below you will find a detailed description of each parameter of the basic configuration for this validator.

Value*

Value

Select how to retrieve the value that will be checked against the regular expression. You can choose between the following options:

UI Steps
UI Step

Value from field

Select a specific field.

UI Step
OptionDescription
Value from fieldIf you select this option, you can select a specific field in a subsequent step. The value of this field will be evaluated against the regular expression.
Set value manually (parser 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 play button on the top right of the expression box.

Regular expression*

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 play button on the top right of the expression box

.

UI Expand
titleRegular expression

Enter plain text representing a valid regular expression and optionally use field codes to insert field values. The expression will be used to match the substring in the selected target field

Info
iconfalse

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

UI Text Box
typetip


UI Expand
titleAdditional options

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

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

Expressions

additional options to further refine how to evaluate the value against the regular expression. 

OptionDescription

Case insensitive

The evaluation will ignore the case of the input value

Multiline

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

expressions Expression

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

Dot all

-

"

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

condition

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.



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):

  • 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.
  • If the create transition is triggered by a mail handler, the validation will be skipped.


    Add an optional error message to show when validation fails.

    Location

    UI Expand
    titleError message
    Info
    iconfalse

    Define where the error message should be displayed.

    Message

    Info
    iconfalse

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

    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

    Info
    iconfalse

    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.



    Image AddedUse cases and examples

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


    Excerpt Include
    DECADIS:Contact support
    DECADIS:Contact support
    nopaneltrue


    Page properties
    hiddentrue



    Status
    Tech review

    Status
    colourGreen
    titledone

    Style guide

    Status
    colourGreen
    titledone

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


    Page properties
    hiddentrue


    Short descriptionEvaluate (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.