Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 42 Next »

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: $vtlReferrenceName or ${vtlReferrenceName}.

Below are listed available variables that can be used in velocity template:

VariableTypeDescriptionSample value
$sourceIssueIssuecloned (for Clone Issue) or parent (for Create Sub-task) issueDEMO-1
$repeatingRepeatingcurrent repeating

Sample usages

FieldVelocity expressionSample value
SummaryCLONE - $sourceIssue.sumamryCLONE - This is source issue summary
DescriptionIssue repeated by $sourceIssue.key at $repeating.date.formatDateISOIssue repeated by DEMO-1 at 2016-09-11
Date time custom field$repeating.date.addDays(2).withHours(10).withMinutes(0)11/sep/16 10:00 AM
String custom field$!sourceIssue.getCustomField($this)This is some source issue value for "String custom field"
  • No labels