I have the following rule configured to run on my project (created by Atlassian AI with some tweaking from me as they picked the wrong field to update). The audit log shows success but the start date value of the parent task is never actually updated.
Any thoughts?
Adding to the suggestions from @Trudy Claspill
When do you want that field to change as the rule shown might always edit the field?
For example, do you want the parent set to the earliest Start Date for all of its child work items? Or perhaps the latest date? Doing this would require using the Lookup Work Items action to gather the children and the list min and max functions to find the correct date.
And the rule shown only updates the parent when one of the child work item's date field changes. But there are other cases to consider, possibly requiring more rules, such as:
Kind regards,
Bill
Here is my goal - I call it "push-up dates"
and then same for due date but with the latest due date. My original thought was add roll-up date to the work item but that field is only available in the plans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for that information, and let's look at a simple example for one of the cases:
If the option below is enabled in the details at the top of the rule, this would update the Start date, in a cascading fashion from the lowest to the highest levels child / parent relationships.
Check to allow other rule actions to trigger this rule. Only enable this if you need this rule to execute in response to another rule.
That rule could be cloned and updated to set the Due Date, with the smart value of duedate.
Again, this handles one case, and not all of the possible ones I noted.
Particularly this does not handle "tampering" cases if someone changes a date value in the middle of the hierarchy chain. (e.g., Someone changes an Epic's date after it has been updated from its child Tasks.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Jo-Lee Bertrand
What are the details of your Edit Work Item action?
What are you trying to accomplish with the rule?
Is any change being made to the Start date field in the issue you want to update? Does the field already have a value before this rule runs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What I am hoping to accomplish, is when an item has a start date entered or changed, that start date floats up to the items above. so if a sub-task start date changes, I want the task start date to reflect that. I thought I would try the Atlassian AI but it seems wildly off the mark (I've done automation before and this looked far too simplistic but since Atlassian AI created it, I thought I would give it a try). Back to the drawing board.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Jo-Lee Bertrand
The simple rule structure you have can work. Can you provide answers to the other questions I asked, so that we can explore why it might not be working?
What are the details of your Edit Work Item action?
Is any change being made to the Start date field in the issue you want to update? Does the field already have a value before this rule runs?
Without those details we can't advise on why it is not doing what you intend.
The points made by @Bill Sheboy are also valid. With the current, simple version the parent issue may get updated in scenarios where you would not want it to be updated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jo-Lee Bertrand Can you add some more conditions like when the field value changes ---also check what is the work type of the triggered work item and see if it has parent or not?
this ensures that if the condition matches then only go ahead or abort.
Also, could you please share the log (source and destination work item) details.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think I need to completely re-do the automation. Atlassian AI clearly did not work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.