Dear community,
I'm currently struggling with the automated calculation of an end date via Jira Automation.
I have created two custom fields "Startdate" and "Enddate" formatted as date/time picker. What I would like to have is the automated "Enddate" based on the original estimate which is entered.
Something like:
Startdate: 02-11-2025, 04:00pm
Original Estimate: 4:30 hours
Enddate: 02-11-2025, 08:30pm
Im currently creating a variable "TimeTrackingDays" with formula:
{{#=}}{{issue.timetracking.originalEstimateSeconds}} / (60 * 60 * 8){{/}}
and then, I try to update the "Enddate" with formula:
{{issue.customfield_10041.plusBusinessDays(TimeTrackingDays.asNumber)}}
Unfortunately, the update of the "Enddate" field is not correct as it shows the same date as the "Startdate".
Do you have any suggestions for the correct formula?
Thank you so much!