Using JIRA Automation, how can I make Due date a function of Epic's due date?

Nicole Assor May 26, 2021

I have an automation in which if an Epic is created, it creates various Tasks/SubTasks. I would like to have the due dates of these tasks as a function of the Epic Due date (Epic due date - 2 weeks, 5 days, etc.)

2 answers

1 accepted

3 votes
Answer accepted
John Funk
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 26, 2021

Hi Nicole - Welcome to the Atlassian Community!

When you create the various Tasks/Sub-tasks, you can copy the Due Date down from the Epic to the children.

Add the Due Date to the new issue you are creating in the Create Issue new action of the rule. 

Then click on the 3 dots beside the Due Date field

Then Chose Copy from

It will who Copy Due Date from Current issue - but you can click on the words Current Issue which will open another drop down where you can select Trigger issue. 

So it will look something like:

screenshot.png

Nicole Assor May 26, 2021

Thanks, but I am looking to make the date a function of the Epic due date. So like Epic Due date minus 2 weeks, or 2 days, etc.

John Funk
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 26, 2021

{{triggerIssue.duedate.minusDays(2)}}

Like Trudy Claspill likes this
John Funk
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 26, 2021

Just paste that in the field where it currently says it will be cleared.

Nicole Assor May 27, 2021

thanks! Does it work with minusWeeks? or just days?

Like John Funk likes this
John Funk
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 27, 2021

Should work with Weeks, Years, etc.   :-)

0 votes
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 26, 2021

Can you show us what you have in that rule so far?

Nicole Assor May 26, 2021

image.png

This goes on quite a bit, but each task which is created should have a due date relative to the Epic's due date

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