I am working on a Jira automation rule where I retrieve two issues that are linked through a branch issue. My goal is to verify whether both of these linked issues are in the “Complete” status before updating the status of the branch issue accordingly.
I have included the current automation rule and its corresponding log for your reference.
Specifically, I would like to confirm whether the outward linked issues are in the “Complete” state so that I can proceed with the next action.
I would greatly appreciate it if you could assist me with the appropriate JQL to incorporate into this automation.
Thank you 

for your support.