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,365,111
Community Members
 
Community Events
168
Community Groups

Update Parent Start date with Child min Due date

Hi, I'm trying to automate inputting a Parent start date based on a Child's earliest due date.

Using the same logic, I managed to update Parent end date based on Child's latest end date but somehow the date does not update for Start date when a Child's earliest due date is changed/added.

What am I missing here? Happy to provide more information if necessary.

Screenshot 2022-08-16 at 10.11.29.png

2 answers

1 accepted

0 votes
Answer accepted

Hi @Debbie -- Welcome to the Atlassian Community!

You noted that:

I'm trying to automate inputting a Parent start date based on a Child's earliest due date

However looking at your rule, the check on date with the condition appears to be the problem, and if you show the details of your audit log, it may confirm this.

In your rule...

  • you branch to the parent issue of the trigger issue (a sub-task)
  • inside of a branch, {{issue}} refers to the branched-to issue (not the trigger issue)
  • and in your branch you test {{issue.parent.startdate}}, so inside of the branch, this would be the grandparent of the trigger issue

Please try changing the condition inside of the branch to test with {{issue.Start date}}

Kind regards,
Bill

Thanks for the solution! Indeed it worked beautifully. 

0 votes

One useful debugging technique is to add Log Actions to your rule to print to the rule audit log the values you are comparing.

Are StartDate and DueDate the same type of field?

Thanks for the recommendation of adding Log Actions, I've done that now and will continue to do that for future rules. 

 

StartDate and DueDate are both date fields and seem like the reference to the issue was the problem. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS

Atlassian Community Events