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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.