The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Due date automations

Gary
Contributor
January 30, 2025

Hi,

I'm looking for some help regarding automations of dates.

I'm creating an epic which is subsequently creating and task, that task is subsequently creating more tasks. So the epic is the parent of task 1, task 1 is the parent of task 2 and so on and so forth.

I'd like to add a due date to the epic (say 6 weeks in the future), but I'd like the subsequent task the epic creates to be due in 3 weeks. This would then need to carry on through the chain of tasks generated from each other. Is there a way I can automate population of due date in the tasks generated from the original epic?

All help greatly appreciated

 

Kind regards,
Gary

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Atlass Monster
Banned
January 30, 2025

@Gary  Gary! Hi mate.

Here is the plan:

1. Get the Parent DueDate as a single numerical value (days, weeks, minutes, seconds) : https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/

2. Find how many child sub-sub-sub-sub childs that task has (you can use LookUp issues and .size)

3. Divide the number from Step 1 by the Step 2 number

4. Bingo! I wondered where I lost that Bingo card, it was under my keyboard..

Date days.pngdate As value .png

Now you need to specify that the value you want to edit is in Days, Weeks, Minutes or whatever. 

If my answer was helpful you can mark it as solution, if not you can ask for more help :)

Gary
Contributor
January 31, 2025

Brilliant thanks mate I'll give that a try