Hi all,
Recently I had a request to create an automated rule when any issues are transitioned to "Done" status, to check against any open dependencies, and if there are any dependencies "In Progress", to reopen the original ticket until all dependencies are marked as "Done".
The problem I'm facing is that Jira reads the dependency relationship as bidirectional, keeping both Issue 1 and Issue 2 perpetually in "In Progress", creating a loop. It both reads Issue 1 as dependent on Issue 2 and Issue 2 dependent on Issue 1.
Is there a particular way to solve this issue if you have faced it before? A partial fix is to use the hierarchy status for subtasks, but in this case, Stories can be dependent on other Stories so the hierarchy wouldn't always apply.