How to check "Jira-users" group is used in permission schemes. If yes then send an email to Jira admins with script-runner.
Here is a short script that will output all the Permissions schemes and permissions granted directly to jira-users.
This won't account to permissions granted to jira-users via a project role
import com.atlassian.jira.component.ComponentAccessor
def pm = ComponentAccessor.permissionSchemeManager
pm.getAssociatedSchemes(true).collect { scheme ->
scheme.entities.collect { item ->
if (item.type == 'group' && item.parameter == 'jira-users') {
"${scheme.name}.$item.entityTypeId"
}
}.findAll()
}.findAll().flatten().join('<br>')
@Ankuskum you can find this information through SQL queries. Information can be found here https://confluence.atlassian.com/jirakb/how-to-identify-group-usage-in-jira-441221524.html
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.