Velocity references in field values
User can use variables in field values during configure repeating details. A variable is one type of reference in Velocity Template Language (VTL) and can refer to objects defined in template context. To use variable please put it name in velocity variable syntax: $variable or ${variable}.
Below are listed available variables that can be used in velocity template:
Sample usages
Field | Velocity expression | Sample value |
---|---|---|
Summary | CLONE - $sourceIssue.summary | CLONE - This is source issue summary |
Description | Issue repeated by $sourceIssue.key at $repeating.date.formatDateISO | Issue repeated by DEMO-1 at 2016-09-11 |
Date time field | $repeating.date.addDays(2).withHours(10).withMinutes(0) | 11/sep/16 10:00 AM |
String custom field | $!sourceIssue.getCustomFieldValue($this) | This is some source issue value for "String custom field" |