In Project ABC, there is a manual automation where people can run it and it'll create a story in Project XYZ which blocks the story in Project ABC. People can run it multiple times so there might be 3 stories in Project XYZ that block the 1 story in Project ABC.
I'd like an automation where, once all the stories in Project XYZ that are blocking the story in ABC are 'done', then it changes a field (Testing Status) to "UAT Complete" in the original ABC story.
Below is what I tried but when testing in jira sandbox, doesn't seem to be working
