How can we make custom field value unique by using validator in a particular transition in a workflow ?
I tried using validator script but its throwing an error below :
ambiguous expression could be either a parameterless closure expression or an isolated open code block; solution: add an explicit closure parameter list, e.g. {it -> ...}, or force it to be treated as an open block by giving it a label, e.g. l:{...}
Can you please provide a solution for this ?
Thank you!