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

Running a SQL Report on Confluence


I want to create a button on a page to run a query across all spaces and report all orphaned pages. Basically click the button and get a list of pages.

I found the SQL to do this in the knowledge base but I don't know how to put the SQL behind a button (or indeed if this is possible).




1 answer

1 accepted

Hi Nigel,

there's no access to the database in Atlassian Cloud 

Running SQL for your on-premise instances will need to be done directly to the database (the IDE/tooling depends a bit on type, for example SQL Developer).

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

333 views 9 7
Join discussion

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