Agiles poker
It should be like this:
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.crowd.embedded.api.Group
import com.atlassian.jira.ComponentManager
import com.atlassian.jira.user.ApplicationUser
import com.onresolve.jira.groovy.user.FormField
import com.atlassian.jira.user.util.UserUtil
import com.atlassian.jira.security.groups.GroupManager
import java.util.List
import com.atlassian.jira.ComponentManager
def groupManager = ComponentManager.getGroupManager()
def currentUser = ComponentAccessor.JiraAuthenticationContext.getLoggedInUser()
return groupManager.isUserInGroup(currentUser,"JIR_ADMIN") || groupManager.isUserInGroup(currentUser,"JIR_SCRUM ") || groupManager.isUserInGroup(currentUser,"JIR_SCRUM MASTER") ... and so on for all groups.
Also you should name groups as they are name in Jira. It is case sensitive.
Hi @Alexey Matveev,
Thanks For your suggestion. Again I am facing the problem. None of the group users are able to create an issue in Jira.
Regards,
Shubhanshu
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.