I'm having trouble creating an automatic rule
CASE:
I have story which is related with 2 tasks and the same story is related with 2 bugs.
Tasks - are in "DONE" status
Bugs - are in "IN PROGRESS" status
Story - is in "IN PROGRESS" status.
I want to move story to status from status "IN PROGRESS" to "CODE REVIEW" when all bugs from this story( in this case 2 bugs) are moved from "IN PROGRESS" status to "CODE REVIEW" status.