Hello,
We need to have the ability to prevent a Story to be set to "Done" when a Bug is blocking the story and it is still open as well.
Is there any way to set this by using the automation rules? I have tried but without success.
This is the workflow the Story issue type has configured in our jira instance:

Basically, what we need is to satisfy the following criteria:
IF
issue type = "Story" AND status is not "Done",
AND issue link type is "blocked by" (preferably a "Bug") AND status of linked issue is not "Done",
THEN
issue type = "Story" cannot be moved to "Done"
Could you please tell me if this is technically feasible or do we need to use another feature?
Many thanks!
Victoria.