Hey Kevin,
If you want to get the groups that have browse permissions for a prohject the you can run the following script in your scirpt console
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.security.Permissions
def project = ComponentAccessor.projectManager.getProjectObjByKey("TAT")
def result = "Groups that have Browse Project Permission for project ${project.key} <br>"
result + ComponentAccessor.permissionManager.getAllGroups(Permissions.BROWSE, project)?.collect { it.name }?.join("<br>")
regards, Thanos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.