Forums

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

Creating Automation for Start & Due Dates between Child issues & Epics

Shettsline_ Marisa M March 18, 2025

hi! I found a helpful blog on how to create automation so that any child issue start / due dates would automatically update a start / due date of their parent Epic, but I was wondering if I have it configured correctly cause in our Project we dont use the "issue" issue type. we do it as Epic -> user story -> task. 

 

Here is the blog i am referencing for building the automation, but i think because we use user stories that I have to tweak it. Can someone provide insight?

https://support.atlassian.com/automation/kb/how-to-update-parent-issue-start-date-and-due-date-from-child-issues/

1 answer

1 vote
Trudy Claspill
Community Champion
March 18, 2025

Hello @Shettsline_ Marisa M 

Welcome to the Atlassian community.

The post you mentioned is not making use of an issue type named "issue". What information within that post makes you think that? I ask so that I can help you correct your thought process.

 

You said your issue type hierarchy is

Epic -> user story -> task

This doesn't align with the native issue type hierarchy which is

Epic > "standard" issues (i.e. story, task, bug) > sub-tasks

Your post tags indicate that you have the Premium subscription so it is possible that you could customize your issue type hierarchy. Have you customized your issue type hierarchy? If so, are you trying to update your Epics or your User Stories or both?

Can you provide screen images showing us your entire automation rule?

Shettsline_ Marisa M March 18, 2025

hi yes! so you are correct in that our hierarchy doesnt align with the native issue types. here is my automation rule ive configured, but im doubtful it will work given our hierarchy settings and wondering how i can make it work for our proejcts settings?

 

 JIRA Automation.png

Trudy Claspill
Community Champion
March 18, 2025

Are you trying to update your Epics or your User Stories or both?

Are all the different types of issues in the same Jira Project?

Is the scope of this rule one project, multiple projects, or Global?

 

What you have should work for updating your Epics based on the data from their child User Story issues, depending on the scope of your rule and whether the issues exist in the same project or different projects.

Shettsline_ Marisa M March 19, 2025

I am trying to update my Epics only based on their child user stories start and end date! the scope of the rule is just for my project only, we are in a managed environment so everything we do is only for stuff within our project

Shettsline_ Marisa M March 20, 2025

this is the error im getting when the rule tries to run JIRA Automation error.png

Trudy Claspill
Community Champion
March 20, 2025

I sincerely apologize. I was not paying close enough attention to your rule.

The step that is failing is the last one: If: Issue matches JQL

That is not the correct type of step to have. After the Lookup Issue action to get the list of child issues you need an Edit Issues action to edit the Epic for which you looked up the child issues.

You would use the smart values to set the appropriate date fields for the Epic. It would look something like this:

Screenshot 2025-03-20 at 12.59.37 PM.png

Smart values are case and spacing sensitive. The 'i' in lookupIssues needs to be capitalized. When you insert the field name for Start Date that needs to match how the field name actually appears in your issue. In my example the field name uses a capital "s" and capital "d", so I have to match that in my smart value.

The system Due date field is special. Both "Due date" and "duedate" should work for it.

Like Bill Sheboy likes this
Trudy Claspill
Community Champion
April 3, 2025

Hello @Shettsline_ Marisa M 

Were you able to solve your issue with the information I provided? If so, please consider clicking on the Accept Answer button to mark your Question as Solved.

If you still have questions on this topic, please let us know.

Suggest an answer

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

Atlassian Community Events