AD groups usage in Jira and Confluence

Albert Manuel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 5, 2021

Hi,

 

Is there a way of getting a list of all our groups and then, for each group, a list of the JIra projects (permissions) and Confluence spaces where it is used. Any ideas?

1 answer

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 12, 2021

@Albert Manuel 

You can use the API to pull all the groups you have in Jira https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/

You could then pull all the project roles one by one and compare the results to your list of groups.  https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/project/{projectIdOrKey}/role-getProjectRoles

Confluence does not have space permissions in the API that I could find.

If you have access to the Jira DB you could use SQL to pull the information which would be much easier - https://confluence.atlassian.com/jirakb/how-to-identify-which-groups-have-access-to-a-project-in-jira-884354938.html

Looks like you could also do this with the Confluence DB - https://community.atlassian.com/t5/Confluence-questions/How-can-I-get-list-of-all-confluence-spaces-assigned-users-and/qaq-p/1278555

Suggest an answer

Log in or Sign up to answer