I need to automate my business project, but I'm stuck with the conditions. I need to close the incident when all its subtasks are closed
I also need to do that when a new subtask is created on that finished story. It returns to a previous state.
For these cases the states I have are:
Ready to work
in atention
finished