I'm looking to an MS SQL Query to find out the Spaces we have, how pages each of those spaces have and the number of attachments it has.
Hi there,
Be careful as Nic says. There are a number of Atlassian KB docs which can guide you:
Once again, be careful, and do your best to run on a database clone or non-production instance.
This is the sort of SQL that could kill your database (not damage it, but the nested searches you'd need to do could rapidly overwhelm it)
I'd strongly recommend writing a user macro to do this instead, as you can (sort of) get directly into the API, which will not overload your database and can get to the answers a lot quicker.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
Are there any guides relating to creating a user macro to get this report data?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.