Hi all,
I'm trying to build an automation which copies the time from a date field (Start Time) to a datetime field (Start Time [Gantt]).
When I do this the easy way, it will remove the time set in the datetime field and the requirement is to keep the time.
I can extract the time before making the change and put them into variables, called hours & minutes. But I can't add them to the datetime field.
I've an Edit issue component with Start Date [Gantt] (the datetime field) and the following smart value:
{{issue.Start Date [Gantt].withHour(hours)}}
I also tried
{{issue.Start Date [Gantt].withHour({{hours}})}}
But I keep getting the error:
Error rendering smart-values when executing this rule:
Failed to get value for issue.Start Date [Gantt].withHour({{hours: {{issue.Start Date [Gantt].withHour({{hours}})}}
So how can I keep the time?