Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

jira sql query: security and group to delete

Nathanaël BOZZI
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 24, 2020

Hi,

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

Regards,

 

1 comment

Andreas Lorz August 24, 2020

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 https://confluence.atlassian.com/adminjiraserver/view-create-or-delete-a-group-938847038.html?_ga=2.81869077.247172879.1598335777-16808627.1595229389

For the SQL you might try something like this:

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

which I found here https://community.atlassian.com/t5/Jira-questions/SQL-How-to-query-JIRA-s-permission-schemes/qaq-p/284182

Hope this helps. 

Nathanaël BOZZI
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 24, 2020

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

Andreas Lorz August 25, 2020

Hi Nath,

I'm sry. Misunderstood that.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events