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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,554,294
Community Members
 
Community Events
184
Community Groups

Automation: Setting an issue's due date based on the earliest due date of sub-tasks

Edited

I am creating an automation that allows me to have sub-tasks automatically created when creating an issue. I would like to have the due date of the issue set to the earliest due date of the sub-tasks that are being created. I have tried a few options, such as:

1) Adding a rule that sets the due date to {{issue.subtasks.duedate.min}} (based on https://community.atlassian.com/t5/Jira-Software-questions/Highest-Due-Date-from-Sub-tasks-copied-to-Parent/qaq-p/1903864)

jira1.jpg

Sub-tasks are created, but the due date is not added. This does work in other automations I have, e.g. when an issue is transitioned, sub-tasks are created automatically, and the due date is set in this way. 

2) Creating a label or a comment instead, and then creating another rule triggered by this label or comment. This worked but creating comments might get messy after a while, so we were hoping for making the first option work or finding some other solution!

 

I hope someone can help and thanks!

 

1 answer

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 01, 2023

Hello @Aleksandra Gregec 

Welcome to the Atlassian community!

Try adding a Re-fetch Issue action after creation of the last subtask and before trying to edit the Due Date of the issue.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events