Our workflow is not that complex, but have states like "code review" and "In QA". When It fails one of these to the issue move back to "In progress"
What I want to do is the following:
1)When a "code review" or "In QA" fails fails, i want to assign it to the last person that worked on it. (this should happen automaticly)
2)I want to build a filter to check how many story and sub-tasks failed "code review" and "QA".