Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

jira sql query: security and group to delete



I need to check (sql query) all security permissions a certain group have (before deleting it).



1 comment

Hi @Nathanaël BOZZI ,

you might also check this via the GUI under Administration > Issues > Permission schemes and check every permission with Strg + F searching for the certain group.

You should also consider, that the group could be part of validators, postfunctions etc. which are used in workflows. 

You might also check this site

For the SQL you might try something like this:

SELECT AS PermissionSchemeName,SP.perm_parameter AS GroupName, SP.permission_key AS Permission
FROM schemepermissions SP
INNER JOIN permissionscheme PS ON SP.scheme =
Where SP.perm_parameter = 'certain-group-name';

which I found here

Hope this helps. 

hi andreas

thanx for your reply. i already have the permissions scheme query in my check list before deleting. 

i am still looking for a group in security schemes check (not permission schemes).

Regards, Nath

Hi Nath,

I'm sry. Misunderstood that.


Log in or Sign up to comment

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you