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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

query to fetch individual users added in project permission in jira

Find the permissions of jira projects in which individual users added manually not added through groups

3 answers

HI . You can use this SQL query

 

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 perm_type = 'user'

any details?      My result *(          image.png

Hello ,

 

I want list of all projects of jira with the individual added in particular project.

e.g

project name| key|permission|name of user or group|

select pr.pname, pr.pkey, sp.PERMISSION_KEY, sp.perm_parameter from project pr
LEFT JOIN nodeassociation n ON n.SOURCE_NODE_ID = pr.id and n.SINK_NODE_ENTITY = 'PermissionScheme'
JOIN permissionscheme p on n.SINK_NODE_ID = p.id
jOIN schemepermissions sp on sp.SCHEME = p.ID
where perm_type in ('user', 'group')

HI. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,496 views 22 32
Read article

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