Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

The Regular expression renderer This post function can be used for replacing a sub-string 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.


Configuration

UI Expand
titleTarget field

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


UI Expand
titleReplacement field

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


You can try your expression by clicking on the run button on the top right of the expression box

.

UI Expand
titleExpressionRegular 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 sub-string substring in the selected target field.

UI Text Box
typetip


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


UI Expand
iconfalse
titleConditional execution

Include Page
DECADIS:_snip_condExecution_Server
DECADIS:_snip_condExecution_Server



Use 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
titletododone

Style guide

Status
colourGreen
titletododone

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 in a , with values from another field.
Label