I have the following problem:
A parent is having several linked children (not subtasks). The parent and the children have a field "Due Date". The parent shall always carry the latest Due Date of all of the children. If a child gets a later Due Date, then it's easy to check if that child's due date is later than the parent's due date and the parent's due date can be updated accordingly.
But if a child's due date is set earlier than the parent's due date, then I need an automation that checks all children's due date and sets the parent's due date to the latest one.
I don't see that this is possible with automation for Jira since I cannot change a value of the triggerissue with the value of the linked issue.
To clarify what you are trying to do, would you please explain:
Thanks for that information, @Cornelia Richter
You are using links rather than the built-in parent/child relationships, so you can use JQL in a branch to find the related items. You can then test if the "child" items have a later date and update the "parent". With the server version, if you need any temporary storage during the rule execution, consider adding custom fields or properties to help. (With cloud version, you could instead use Create Variable.)
For any linked children added before the rule was created, you could use a one-time rule with a scheduled trigger (or a manual trigger) to find and update the parent for those children as well.
One good way to get help on rules is to build the rule, note what is/is not working, and then post an image of the rule in your question. That will help the community provide more targeted ideas for you.
Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events