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:
withHour is expecting a number, did you check your {{hours}} variable stores a number? (for example isNumeric()) Please share your automation rule. Thanks
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.