Forums

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

How to set Due Date once All child tickets have a status of "Done"

Pete Jaworski July 27, 2023

I want to create an automation rule where:

 

User Story

  1. When subtask = "Done" move parent (User Story) to "Done"
  2. When ALL subtasks move to "Done", then Update User Story "Due Date" to current date.

 

Epic:

  1. When user story = "Done" move parent (Epic) to "Done"
  2. When ALL user stories move to "Done", then update Epic "Due Date" to current date.

1 answer

1 vote
John Funk
Community Champion
July 27, 2023

Hi Pete,

Take a look at this sample rule and give yours a try. Let us know how we can help. 

https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/112177

Pete Jaworski July 27, 2023

This is great! Thanks @John Funk . What about the Due Date? This is what I am most interested in.

 

Once ALL the child tickets move to "Done", then I want the Epic's Due date to update as the "end date (current date)"

Like John Funk likes this
John Funk
Community Champion
July 28, 2023

Sure, if you share your rule, then we can discuss what to add - that will be easier. 

Pete Jaworski August 1, 2023

Thanks @John Funk - Here is a screenshot. I basically want to capture the due date on the parent, when all the subtask/child tickets are moved to "DONE".

Questions.

  1. How do I ensure that the DUE DATE doesn't keep updating each time a subtask/child task moves into the "DONE' status. They could be moving to the "DONE" status at different times. I want the DUE DATE when ALL the subtasks/child tickets are moved to DONE.
  2. Do I add the DUE DATE rule as a separate branch, or do I incorporate it to the Transition Status rule above?Screenshot 2023-08-01 at 3.06.51 PM.png
John Funk
Community Champion
August 5, 2023

Hey Pete - so sorry for the delay, I have been very busy lately. 

I would add a Condition to check if the Issue Type = Sub-task (before the Edit Issue)

Then add a branch after the condition for Parent

Add Condition to check that all of the children are Done

Then move the Edit issue under the branch. 

See the example here:

Screenshot.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events