You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

The Regular expression renderer post function can be used for replacing a sub-string in 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 field or Format field value post-functions.

Configuration

Target field

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

Replacement field

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

Expression

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

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

Additional options

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

Conditional execution

You can optionally specify a logical expression to define the circumstances (or conditions) under which the post function should be executed.

The result of the logical expression must return a boolean value of either:

  • true → the post function will be executed
  • false → the post function will not be executed

Using the conditional operator, even complex or multi-layered conditions can be constructed.

Make sure to learn more about defining logical expressions and browse through the various examples here: Logical mode


Use cases and examples


If you still have questions, feel free to refer to our support team.