I am working on an automation rule when Subtask A's Due Date is changed, then Subtask B's Calculated Start Date is updated. They are linked with A "blocks" B.
They are in the same project and I have tried using ChatGPT to work through the JSON file to no avail. It seems like the conditions are not being met which then does not trigger the rule.
When an issue’s Due date field changes.
For the triggering issue ({{triggerIssue}}):
It is a sub-task:
JQL condition: issuetype in subTaskIssueTypes()
automation-rule-019b2e92-6d08-7…
Due date is not empty
automation-rule-019b2e92-6d08-7…
The issue has at least one linked issue with link type blocks
automation-rule-019b2e92-6d08-7…
If any of these fail, the rule stops.
For each issue that the triggering issue blocks:
Set the branch context {{issue}} to that blocked issue (this is Sub-task B).
Only continue if Sub-task B’s current Calculated Start Date is different from the new calculated value:
If:
{{issue.customfield_12256}} != {{triggerIssue.duedate.plusBusinessDays(1)}}
Edit Sub-task B:
Set Calculated Start Date = {{triggerIssue.duedate.plusBusinessDays(1)}}
Hello @Brian Alexander
Welcome to the Atlassian community.
I wrote an article on this topic which you may find useful:
Updating dependent task's dates when predecessor task date changes
Hi @Brian Alexander ,
Good Day, Welcome to Atlassian Community
Please see attached Automation rule, that updates Start Date of Subtask B when Due sate of Subtask A is updated provided they are linked together.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.