Hi,
I've got a parent task and a bunch of sub tasks. The parent task has a custom field 'Open Date'. This is set at the parent and an automation sets the same value through all sub tasks.
I have added a custom field to the sub tasks, it is called 'Offest', the value can be -10, 0, 1, 2 or 2+
For each Offset value, I want to set the due date, kind of like this:
WHEN Offset is 0 THEN {{issue.parent.Open Date}}
WHEN Offset = 1 THEN {{issue.created.plusBusinessDays(20)}}
WHEN Offset = 2 THEN {{issue.created.plusBusinessDays(50)}}
ELSE {{issue.parent.Open Date.minusDays(issue.Offest)}}
I couldn't get nested if / else to occur after branch level, and created a condition for each.
See screenshot of rule, its seems convoluted.