I want to update the Due Date field of a subtask based on the Story Points Estimate field and Start Date field by calculating Start Date + Story Points Estimate and assigning the date to Due Date field.
For eg
Feb 09, 24 (Start Date) + 4 (Story Point Estimate) = Feb 14, 24 (Due Date)
My Rule:
1. Issue Trigger:
- Issue Transitioned - To Do - In Progress
2. Conditions
- Issue Type = Subtask
- Due Date is empty
3. Edit Issue fields
- Using Smart Value for Due Date field {{issue.fields.Start Date.startDate | plus: (issue.fields.Story Points * 1) | date_add_days: (issue.fields.Story Points * 1)}}
I tried this rule but it didnt give the desired result. Any help with modifying my rule will be be greatly appreciated.