From 9ee06e583c44d638320ac29d601c12ef1a172008 Mon Sep 17 00:00:00 2001 From: Ralph Soika Date: Mon, 23 Oct 2017 10:47:50 +0200 Subject: [PATCH] docu issue #312 --- src/site/markdown/engine/plugins/index.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/site/markdown/engine/plugins/index.md b/src/site/markdown/engine/plugins/index.md index 258a63b2c..ae643f3bb 100644 --- a/src/site/markdown/engine/plugins/index.md +++ b/src/site/markdown/engine/plugins/index.md @@ -33,7 +33,7 @@ This message text will be automatically replaced with the workitem properties 'n at Wed, Jul 4, 2010 -### Format multi-value lists +### Format multi-value Items If a item contains a multi-value list, all the values can be separated by a character sequence defined by the tag 'separator'. For example the following message text based on an item '_parts' with the values {"pants", "shirt", "jacket"} and a separator ', ': @@ -45,6 +45,12 @@ will be replaced with: **Note:** If no separator is defined, only the first value will be returned. +To get the last value of a multi-value list the tag 'position' can be set to 'last' + + The last order item was: _parts + +This example extract the last value of the mulit-value item '_parts'. + ### Format date/number values by locale To format a date or number value into a language specific format the tags '_format_' and '_locale_' can be used. The following example shows how to format a date value into the German date format: