Versions Compared

Key

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


Panel

On this page

Table of Contents
exclude(On this page|Filter by field value|Remaining estimate).*
stylecircle
typeflat
separatorpipe

UI Text Box
sizemedium
typeinfo

The Regular expression renderer This post function can be used for replacing a substring in substrings with the content of another field. The replacing string is defined by the content of another field.

You can implement this same behavior using more advanced features like Copy parsed text to a fieldlike the Update or copy field values or Format field value post - functions.


Image AddedConfiguration

ui-text-box
typenote

In this documentation and the post function 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 of the function.

Target field*

Info

Select the field to be checked against the regular expression (e.g., Assignee).

Replacement field*

Info

Select the field to read the replacement value from. (e.g., Reporter).

Expression*

Expand
titleTarget field

Select the field where the substring should be replaced.


UI Expand
titleReplacement field

Select the field to copy the replacement value from.


UI Expand
titleRegular expression

Enter plain text representing a valid regular expression

Info
iconfalse

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


text-box
ui-
typetip

You can try your expression by clicking on the play button on the top right of the JQL expression box.

ui-expand
titleAdditional options

Include Page
DECADIS:_snip_update_immediately
DECADIS:_snip_update_immediately
You have the option to Update issue immediately (a specific entry will be created in issue history for this field writing).


Enter a condition (Logical / boolean condition) using the JWT expression parser - full feature list syntax.

You can even logically link and gather conditions in expressions as you like in order to map more complex conditions.

The post function will only be executed if the condition is met (returns true).
UI Expand
iconfalse
titleConditional execution
Note

Include Page
DECADIS:_snip_condExecution_Server
DECADIS:_snip_condExecution_Server



Image AddedUse cases and examples

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


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


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 descriptionReplace the substrings of a field value, matching a regular expression, with values from another field.
Label