Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to list users with access to a space using SQL

Janne Toikander February 4, 2019

We're using JIRA 7.13.0 and Confluence 6.14.0.

What I want, is a list of usernames who have at least "read access" to a space with key "LIMITEDSPACE".

 

User may exist via:

Confluence Internal Directory

- Remote Jira Directory (which has users in internal JIRA directory and via LDAP directory)

 

How to achieve this?

 

All Atlassian docs I was able find was the opposite way (which spaces a user has access to, etc.)

 

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 6, 2019

Hi Janne,

The issue here is that a lot of your users might not have been given explicit permissions to a space, but rather have permissions to access the space via a group.

I would recommend reviewing the following article for examples. Although the queries might not be exactly what you need, you should be easily able to rewrite them for your purposes:

Keep in mind that although you're using Jira Remote Directory, any users who have licensed access to Confluence can be found in the database under their user ID in user mapping.

I hope this helps! Let us know if you have any further questions.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence whiteboards, whiteboard templates, template contest, visual collaboration, atlassian learning, confluence community, brainstorming tools, agile planning, team productivity, confluence templates, share your template

Share Your Confluence Whiteboard Template for a Chance to Be Featured in the Product! 🏆

Want to leave your mark on Confluence? One winner will have their whiteboard design added into Confluence for all users to access! This is your chance to showcase your creativity, help others, and gain recognition in the Confluence community.

Share your template today!
AUG Leaders

Atlassian Community Events