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!
Hi @C Jay
Yes this can be done using validators between the workflow transition on "open" status
you can use user validator(JMWE)
Hope this helps
@C Jay by default team field is there in jira you can create team and you can add the field as team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I'm aware the Team field is there by default, what I can't do is check the reporter is a member of a specific team. I want to restrict by Team(s) who can create issues of a particular issue type.
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.