Our QA team needs to know when the parent task is in Demo, which is tricky because part of it might already be in production by the time the last subtask gets to Demo. So I need to be able to update the parent IF
I have the following rule set up in automation:
Action: When value changes for Environment
If: Environment = Demo
I think this might work, but I am worried about things where there is only 1 subtask, and if it moves to Production, would it then update the parent to Demo? We have separate automation that updates the parent Environment to Production if all subtasks are in Production, but you can't force order of execution of rules, so I'm worried it'll move Environment back to Demo even though it should be Production.
For your special case of one-and-only-one subtask, you could use the Lookup Issues action to gather up all subtasks/siblings of the trigger issue with JQL, and then check if there is only one with an advanced compare condition...plus any if/else structure you need to support it.
Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...
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