Variable path | Description | Sample value |
---|---|---|
${repeating.date.formatDateTime} | date and time of current repeating occurrence in Jira datetime format | 11/sep/16 1:15 PM |
${repeating.date.formatDate} | date of current repeating occurrence in Jira date format | 11/sep/16 |
${repeating.date.formatDateISO} | date of current repeating occurrence in ISO 8601 'YYYY-MM-DD' format | 2016-09-11 |
${repeating.date.formatTime} | time of current repeating occurrence in Jira time format | 1:15 PM |
${repeating.date.day} | day of current repeating occurrence in 'DD' format | 03 |
${repeating.date.week} | week of current repeating occurrence | 36 |
${repeating.date.month} | month of current repeating occurrence in 'MM' format | 11 |
${repeating.date.year} | year of current repeating occurence in 'yyyy' format | 2016 |
Math operations on date attribute
...
Operation | Description | Sample usage | ||
---|---|---|---|---|
withMinutes(<integerValue>) | modifies the date by setting specified number of minutes.
| ${repeating.date.withMinutes(0).formatDateTime} | ||
withHours(<integerValue>) | modifies the date by setting specified number of hours.
| ${repeating.date.withHours(12).formatDateTime} | ||
addMinutes(<integerValue>) | modifies the date by adding specified number of minutes | ${repeating.date.addMinutes(15).formatDateTime} | ||
addHours(<integerValue>) | modifies the date by adding specified number of hours | ${repeating.date.addHours(2).formatTime} | ||
addDays(<integerValue>) | modifies the date by adding specified number of days | ${repeating.date.addDays(2).formatDateTime} | ||
addWeeks(<integerValue>) | modifies the date by adding specified number of weeks | ${repeating.date.addWeeks(1).formatDateTime} | ||
addMonths(<integerValue>) | modifies the date by adding specified number of months | ${repeating.date.addMonths(15).formatDate} | ||
addYears(<integerValue>) | modifies the date by adding specified number of years | ${repeating.date.addYers(1).formatDateTime} |
Note |
---|
Deprecated variable paths/names Versions before 0.18.0 use different patterns for variable paths/names. Please note that following paths/names will be removed in future versions and should not be used since 0.18.0 version: ${repeatingDateTime}, ${repeating.formatDateTime}, ${repeatingDate}, ${repeating.formatDate}, ${repeatingDateIso}, ${repeating.formatDateISO}, ${repeatingTime}, ${repeating.formatTime}, ${repeatingDay}, ${repeating.day}, ${repeatingWeek}, ${repeating.week}, ${repeatingMonth}, ${repeating.month}, ${repeatingYear}, ${repeating.year} |