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|Expression*).*
stylecircle
typeflat
separatorpipe

UI Text Box
sizemedium
typeinfo

The Format field value post function gives format to the current value of a field using a set of formatting operations.


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.

Field*

Expand
titleField
Info
iconfalse

Select the field to be formatted.


UI Expand
titleWhite space mode
Info
iconfalse

Select an operation to edit blanks. 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


UI Expand
titleCase mode
*
Info
icon
false

Select whether to edit cases. 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


UI Expand
titleFind and replace


UI Expand
titleFind mode

Choose between the following options:

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

Expression*

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

Enter plain text and optionally use field codes to insert field values.

UI Text Box
typetip


UI Expand
titleReplace mode

Choose between the following two options:

  • Replace first occurrence
  • Replace all occurrences

Expression*


UI Expand
Info
iconfalse
titleExpressions

Enter plain text and optionally use field codes to insert field values.

UI Text Box
typetip

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




UI Expand
titleAdditional options

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


Enter a condition (Logical / boolean condition) using the JWT expression parser functions 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
UI Text Box
typenote

Include Page
DECADIS:_snip_condExecution
DECADIS:_snip_condExecution



Image AddedUse cases and examples

Page properties report
cqllabel = "use-case" and parent = currentContent()


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged


Page properties
hiddentrue


Short descriptionFormat a field containing text.
Label