Community moderators have prevented the ability to post new answers.
if you have the scriptrunner AddOn, you can use a scripted validator
maybe like this:
import com.atlassian.jira.component.ComponentAccessor def groupManager = ComponentAccessor.getGroupManager() groupManager.isUserInGroup(currentUser, 'QA100') == false
this should return 'true' if the currentUser is not in the group 'QA100' and the validation will be passed.
Another Option would be to use a condition instead of validator.
Indeed, a validator is the wrong place for this - you'll give the user an ugly and frustrating error when they try do something. A condition would hide the transition from them so they'd simply not be able to do it.
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.