Versions Compared

Key

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


UI Text Box
sizemedium
typeinfo

This post function formats the current value of a text field using a set of formatting operations.


Configuration

UI Expand
titleField

Select the field to be formatted.


UI Expand
titleWhite space mode

Select whether to edit blanks (or whitespaces). The following options are available (multiple choice is possible):

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


UI Expand
titleCase mode

Select whether to edit cases. The following options are available:

  • Do nothing
  • Convert all the characters to lower case
  • Convert all the characters to upper case
  • Capitalize all the white space separated words


title

Find mode

Choose between the following options:

UI Expand
titleFind and replace

Define whether you want to find and replace parts of the text.

You first have to define the fragments that you want to replace and afterwards specify the replacement. Both parameters can be specified using an expression in Basic text mode.

UI Expand
OptionDescription

Text (case sensitive)

The text to be replaced must exactly match, respecting the case. 
Text (ignoring case)The text to be replaced must match but the case will be ignored.
Regular expression (case sensitive)Specify the text to be replaced by a regular expression, respecting the case.
Regular expression (ignoring case)
UI Expandtitle
Specify the text to be replaced by a regular expression, ignoring the case.

Replace mode

Choose between the following two options:

  • Replace first occurrence
  • Replace all occurrences
UI Expand
iconfalse
titleExpressions

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

OptionDescription

Replace first occurrence

Only the first occurrence of the text will be replaced.
Replace all occurrencesAll occurrences of the text will be replaced
UI Text Box
typetip
You can try your expressions by clicking on the run button on the top right of the expression box
.



UI Expand
titleAdditional options

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


UI Expand
iconfalse
titleConditional execution

Include Page
DECADIS:_snip_condExecution_Server
DECADIS:_snip_condExecution_Server



Use 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
colourYellowGreen
titleReady for reviewdone

Style guide

Status
colourYellow
titleReady for review

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


Page properties
hiddentrue


Short descriptionFormat a field containing text.
Label