Hi @Raju
you can use this code:
!issue.get("customfield_10113").any{ it.isInGroup(issue.get("customfield_10112").name) }
Hi @Raju ,
sorry, I missed that in your initial request.
Try this:
def users = issue.get("customfield_10113")?.findAll{ it.isInGroup(issue.get("customfield_10112").name) }
if (!users)
return true
return "Users ${users*.displayName.join(", ")} are already in group ${issue.get("customfield_10112").name}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Raju
I don't quite follow what you want to accomplish here. Can you please explain the "stage" properly? What happens? When does it take place? Who enters the value?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.