I am not a DBA but have been tasked with exporting some site directory (over 250 of them) information to .csv. I can log into my PostgreSQL instance and have some cookie-cutter queries but need some specific reports to be generated, namely:
Space Name, Space Title, Author, Created on, Last modified on, Last modified by and the TinyLink
Any assistance to ease with this task would be great.
This is a good reason to point out that you should not be trying to read the database. It's absolutley not designed for reporting or data extracts, and it's the worst possible way to get information out of an Atlassian system.
You have run into one of the reasons I say this - it doesn't have some of the data you are looking for at all, some of it is taken from the index and some is calculated when it is requested.
Use the REST API instead, it can give you all of that in a single simple hit rather than a pile of recursive joins and calculations.
This was very helpful. I also found a website here that includes some other useful information. https://bobswift.atlassian.net/wiki/spaces/info/overview?mode=global
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.