Versions Compared

Key

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


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.


Configuration

UI Expand
titleValue

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

ui-expand
Option
title
Description
Value from field
Choose Value from field, then
If you select this option, you can select a specific field
from the given list.
in a subsequent step. The value of this field will be evaluated against the regular expression.
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



Or set value manually (parser 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
titleRegular expression

Enter plain text representing a valid regular expression

Manual value


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

    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



    Use cases and examples

    Page properties report
    firstcolumnUse case
    headingsJWT feature, Workflow function, Parser functions, Label
    cqllabel = "use-case-workflow" and parent ancestor = 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 Evaluate (field) values against a regular expression.
    Label