Hi,
I tried to solve my problem in 2 methods, but none of them works for me.
Problem definition:
Based on Start Date and Remaining Estimate fill value for End Date using only bussiness days for calculation.
Start Date and End Date - are custom fields in my jira, i know IDs of those two.
I stuck on reading date and translating it to number value to do math in smart value automation.
I tried this:
Edit Issue (action)
modify field - End Date:
formula:
{{#=}}{{issue.field.customField_ID(start_date)}} + ( {{issue.timetracking.timeSpentSeconds}} / 28800)}} ){{/}}
or:
Edit Issue (action)
modify field - Start Date:
set: {{now.toBusinessDay()}}
modify field - End Date:
formula:
{{now.plusDays({{issue.timetracking.timeSpentDays}}).toBusinessDay()}}
Is anyone here who can solve that issue for me ?
Regards
Luke