Forums

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

SQL to duplicate restricted pages report

Neil Gower
Contributor
June 7, 2019

We need to provide details for out attestation process from confluence on everyone who has access to restricted pages.

 

The inbuilt space level report that is provided  in Space Tools > Permissions > Restricted Pages provides all the information we need, I just need the same data via a sql satatement that I can get in a csv or similar for upload into our attestation platform.

Has anyone done something similar can someone help with the SQL code (I am not a coder!)

Any help very much appreciated.

1 answer

0 votes
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 11, 2019

Hello Neil,

This is a great question, how to get Confluence page restrictions and space permissions via a SQL statement to export into a CSV format. With this said there are two guides which will assist with getting the information you need. You may find these guides here:

The above references will help to discover the data you’re looking for. We would suggest working with your DBA to discover this data and ensure you’re using a query only account as to not delete or change and production data.

Regards,
Stephen Sifers

Neil Gower
Contributor
June 12, 2019

Okay thanks will grab some of the DBA's time and see what we can do, thanks for pointing us in the correct direction. Will post when I have an update, and post the sql we use here as well

Like Stephen Sifers likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events