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

Compare with Current View Page History

« Previous Version 7 Next »

The Format field value post function formats the current value of a field using a set of formatting operations.

Configuration

Field

Select the field to be formatted.

White space mode

Select how blanks should be handled. The following options are available (multiple choice is possible):

  • Remove all leading white space
  • Remove all trailing white space
  • Leave only one white space between words
  • Remove all white spaces in the text
Case mode

Choose how white spaces should be handled. The following options are available:

  • Do nothing
  • Convert all the characters to lower case
  • Convert all characters to upper case
  • Capitalize all the whitespace-separated words
Find and replace


Find mode

Choose between the following options:

  • Text (case sensitive)
  • Text (ignoring case)
  • Regular expression (case sensitive)
  • regular expression (ignoring case)
Replace mode

Choose between the following two options:

  • Replace first occurrence
  • Replace all occurrences
Expressions

Enter plain text or a valid regular expression and optionally use field codes to insert field values.

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

Additional options

You have the option to update issues immediately (each field update results in a dedicated "Issue Updated" event and issue history entry).

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.