How to check "Jira-users" group is used in permission schemes. If yes then send an email to Jira admins with script-runner.
@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
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.ComponentAccessordef pm = ComponentAccessor.permissionSchemeManagerpm.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>')
It looks like you're new here. Sign in or register to get started.