Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create automation rule dependencies of subtasks by date

Brian Alexander
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 17, 2025

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.

 

 

1) Trigger

When an issue’s Due date field changes.

 

2) Top-level conditions (must all be true on the triggering issue = Sub-task A)

For the triggering issue ({{triggerIssue}}):

  1. It is a sub-task:

    • JQL condition: issuetype in subTaskIssueTypes()

      automation-rule-019b2e92-6d08-7…

  2. Due date is not empty

    automation-rule-019b2e92-6d08-7…

  3. 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.

3) Branch to linked issues (“blocks”)

For each issue that the triggering issue blocks:

  • Set the branch context {{issue}} to that blocked issue (this is Sub-task B).

 

4) Branch-level guard (runs on 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)}}

5) Update action (runs on Sub-task B)

Edit Sub-task B:

  • Set Calculated Start Date = {{triggerIssue.duedate.plusBusinessDays(1)}}

 

2 answers

0 votes
Trudy Claspill
Community Champion
December 17, 2025

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 

0 votes
Akhand Pratap Singh
Community Champion
December 17, 2025

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.

Due Date and Start Date.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events