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

Compare with Current View Page History

« Previous Version 18 Next »

With this post function you can copy an excerpt of a specific field by defining a leading and trailing delimiter. For this, either normal text or a regular expression can be used.

Configuration

Source field

Select the field to get the value from (e.g., summary, assignee).

Target field

Select the field the value will be copied to (e.g., new comment, reporter).

Excerpt configuration

Leading delimiter

Choose the type of the leading delimiter you will enter next. The following options are available:

OptionDescription

Text (case sensitive)


Text (ignoring case)


Regular expression (case sensitive)


Regular expression (ignoring case)


Expression

Enter plain text and optionally use field codes to insert field values. This will be the actual delimiter to be searched for.

Excerpt pattern

Select how the value between the delimiters should be processed. The following options are available:

OptionDescription

None (copy whole text between the delimiters)


Number


URL


Email


Date and time


Regular expression (case sensitive)


Regular expression (ignoring case)


When selecting one of the Regular expression options, you will be able to enter a regular expression to further process the matched text.

Multiple pattern matching

Select which value should be processed in case of multiple pattern matching. The following options are available:

  • First

  • Last

  • All

Trailing delimiter

Choose the type of delimiter to be drawn along. The available options are the same as

Additional options

You have the following options:

OptionDescription
Update issue immediately

Each field update results in a dedicated "Issue Updated" event and issue history entry

Write protection

Do not overwrite existing values

Include leading delimiter

Include it to the output

Include trailing delimiter

Include it to the output

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

Run as

Unable to render {include} The included page could not be found.


Use cases and examples


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