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 condition is for checking 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 condition.

Value*

Value

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

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
Info
iconfalse

Choose how to set the value:

UI Steps
UI Step

Choose Value from field

Then select a specific field from the given list

UI StepOr set
value manually (parser 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



UI Expand
titleRegular expression

Enter plain text representing a valid regular expression

Then enter plain text

and optionally use field codes

, e.g. %{issue.summary},

to insert field values

that will be replaced at runtime

.


UI Expand
titleAdditional options

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

  • Case insensitive - Case insensitive matching is done in a manner consistent with the Unicode Standard.
  • Multiline - 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

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

    regular expression is NOT MATCHED by the selected field or entered parsed text.

    provided regular expression does not match.



    UI Text Box
    typetip

    If you want to use this functionality in a validator instead, have a look at the following validator: Validation 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 ancestor = 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