I would like to populate custom date in date field.
Custom date calculated as below
=IF(OR(WEEKDAY(Date)=3,WEEKDAY(Date)=4,WEEKDAY(Date)=5,WEEKDAY(Date)=6,WEEKDAY(Date)=7),(Date+7-WEEKDAY(Date)+2),IF(OR(WEEKDAY(Date)=1,WEEKDAY(Date)=2),(Date+7-WEEKDAY(Date)+4),"0"))
Any help on using this logic using post function "Script Post-Function" or "Scripted (Groovy) operation on issue (JMWE add-on)"
Thanks