If the user is already set as assignee somewhere in the project, he should not be able to transition another issue. therefore Iwould like to write a script validator.
I already tried something like
issue.assignee.includes(user.accountId).
But I was not succesfull.Does one of you have an idea and can help me