I can't seem to find a way to use a variable inside a smart value. For example:
{{ now.withMinute( {{originalMinutes}} ) }}
...where {{originalMinutes}} is declared earlier in the automation as a math function:
{{#=}} {{issue.customfield_10030.toStartOfDay.diff(issue.customfield_10030).minutes}} - ({{originalHours}} * 60) {{/}}
I'm trying to update a datetime value to a new date, while retaining the time. So far I have all the pieces, but when I go to put them together, they require nesting of some sort, which appears unsupported.
One way around this would be if I could pull the hour, minute, and second attributes directly from the original datetime, but that also appears unsupported (or at least poorly documented).