Hi,
In a workflow post function I'm using Scriptrunner "Set security level to ...". Works fine under the conditions that the user has the right to set security level and the project has the right security scheme. Problem being it ignores the function without warnings to the user if the conditions are not met
I've tried to find a way to validate that with a Script Validator. So that you can't do the transition if this condition is not met.
I'm not a great coder (!) and normally I find a snippet on the net and try to make it work for my needs. I haven't been able to find anything for this.
Anyone out there with an idea?