I want to be able to not allow a ticket to be marked done, if there are subtasks still open can this be done via automation?
It may be possible with automation, but I believe the most common way is with workflow modifications.
In the workflow for the parent issue type(s), go to the transition that you want to block. In my screenshot, I'm preventing the parent ticket from moving to In QA if there are any subtasks open; you'd use whichever transition marks a ticket as Done.
Add a Condition, then select Sub-Task Blocking Condition.
Then select which status (or statuses) your sub-tasks must be in in order to allow the parent to transition.
Publish your workflow, and that's all there is to it!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.