Is it possible to make allow deletion of issues based on conditions?
e.g. If the issue I am trying to delete is a subtask, so, is there any way to allow deletion for a particular project role only when the parent of that subtask is in 'Open' state? Or is any sort of scripting possible here?
This should be done only for a single issue type in a single project. For all other issues types in the same project, no user should be allowed to delete issues.
My understanding is that since Behavior scripts don't work on View Screen of issues, hence they cannot be used.
Also, Script Listener would be triggered after the Issue Deleted event is completed, hence that is also not possible