Is there an api to get the admin for a space? I was able to use the /audit end point but the values get older and older and I have to page through many pages to get the data I need. I would like to be able to have automation send an email to the space admin group for a confluence space. I am using Confluence 7.13.0 hosted on our internally managed confluence site.
I know this is from long ago, but I came across the similar task now to put a python script together to list all the space name and keys as well as administrators of the space.
Pretty easy to get name and key but somehow I cant find a way to get space administrators. Im trying to loop over spaces by using "confluence.get_space(space_key)" but there is no sign of admins. Did you have any luck with this?
Thank you
Moses
It is not possible through the REST API, but you can still use the legacy RPC API to administrate Space Permissions. Please refer this feature request, you will find a working example (Get all permissions associated to a Space) in the workaround section.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mark Matchynski ,
I don't think that the API provides such a feature. What you could do instead is create a group "space-admin" where you'll have all the people that are admin for a space in Confluence, and then send emails to this group.
Otherwise, you can always try to get this information directly from the database. Some documentation is provided by Atlassian here : https://confluence.atlassian.com/confkb/how-to-check-permissions-for-a-space-via-sql-queries-717062216.html
Let me know if this helps,
--Alexis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.