Hi!
I have this workflow:
Open > Design > Development > Testing > Testing UAT > Closed
You can only close an issue when the issue is in Testing UAT. But I allow to create subtask, and in order to close the issue parent I had to create two transitions from "Design" and "Development" to "Closed".
I need help with two things:
1) I want to disable the issue parent from closing until his subtask are closed.
2) I want to make available the transition Design > Closed and Development > Closed only for issues with subtask that are already closed.
Here it is an image of my workflow

Cheers, Mage