I am working on an automation rule that will used the planned start and planned end dates to determine the Program Increment that an epic is aligned with. An epic could start in one Program Increment and end in another Program Increment, and I want to select both values. The field Program Increment is a multi-select field. The planned start is customfield_10101 and planned end is customfield_10102. The logic is working for the most part.
I am using If/Else statements to determine if the start date is after a specific date or the end date is before a certain date if it is select a specific PI from our list of options. This works but is only selecting the PI for the latest End date.
An example is I have and Epic that has a planned start in the middle of Program Increment PI2 2024 and a planned end date in early part of Program Increment PI3 2024. This epic is only getting set to PI3 2024 when I want it to select both PI2 and PI3.