Hi,
I’m trying to set a validator that checks If the reporter is a member of either Team A or Team B when an issue is created. This is an Advanced Roadmap Team and not a user group or role.
I have the JMWE add on and do not have Scriptrunner.
I’ve tried the following but it’s not working:
Validator type: User Validator
Condition for user(s) groovy expression:
issue.get(“customfield_XXXX”)?.id == XX || issue.get(“customfield_XXXX”)?.id == XX
I have set an error message which I receive when I try to create an issue even though I’m a member of the Teams
Is this even possible?
It does have another conditional validation in the same validator which checks the issue type and this part is working.
Please help!