Hello,
I´m Trying to take the Date from the Field {{object.Letzte Vertragsverlaengerung}} (ex. 19.01.2024) and add the Number of Month from the Field {{object.Laufzeit}} (ex. 24) and push the Result (ex 19.01.2026) in the third Field {{object.Naechste Vertragsverlaengerung ab}}
Error is
Can someone give me an advise how to calculate with a Value of a Field and not a Fix Value like mentioned in all "How To"?
(ex. https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/ )
Thanks in Advance!
Solution is:
{{object.Datum des Abschlusses.plusMonths(object.Laufzeit.asNumber).jqlDate}}
As the Atlassian support mentions:
The jqlDate is important as Date attribute will only accept date in yyyy-MM-dd format while without it automation was trying to insert yyyy-MM-ddThh:mm:ss (Time and date) and failing to do so.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.