Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Sub-task due date automation

I have an automation to create a sub-task for certain events and have the due date set to: {{now.plusDays(3).toBusinessDay()}}. However, I want to add a rule to not exceed the due date of the parent. Maybe even have it 1 day prior to the parent due date. I am not a JQL expert, can this be done? 

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 06, 2023

Hi @Ryan McGee 

That seems possible with automation rules.  I am using Jira Cloud, and not Server/Data Center version, and so I cannot test the following for your tooling...

  • issues have some information about the parent, and the parent's data
  • try adding a condition to test {{issue.parent.duedate}} and adjust the subtask value accordingly...or...
  • you could use the math function min() to do try this:

Kind regards,

I will give that a shot!! Thank you! 

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer