Looking for some suggestion on creation an automation or JQL to help move a subtask by the same number of days by which it's changed in the parent task.
For instance, due date on a Story is Aug 15, 2023, which gets changed to Aug 17, 2023. Then to move the due date on the Sub-task as well by two days irrespective of the due date, so for instance the due date on sub-task is Aug 12, 2023 that gets updated to Aug 14, 2023
Thanks for any suggestions and insights for this request.
Hello @Swati Rastogi
This is the rule you'll need.
The smart value in the Create Variable action is:
{{fieldChange.from.toDate.diff(fieldChange.to.toDate).days}}
The smart value in the Edit action is:
{{issue.duedate.plusDays(dueDateDiff.asNumber)}}
You may want to change the Condition where I'm checking that the trigger issue is a Story.
If it is possible that a subtask may have no due date, you may want to add a Condition in the For: Sub-tasks branch to first check if the subtask has a due date before editing it.
That works perfect! Thank you so much Trudy for such a quick response! Saved the day!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.