The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Confluence Attachment Extract

Harrison Wakeman
September 14, 2021

Hi,

I'm just wondering if it is possible to extract a list of attachments along with which project space they belong to from Confluence. I understand it was possible in previous versions when a mysql or sql db was being used but know that it is depreciated is there another way ? 

 

Thanks,

Harrison

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Harrison Wakeman
November 4, 2021

In case it helps anyone else out, here is the SQL 

 

select contentid, c.title, c.version, c.spaceid, s.spacename, s.spacekey 
from content c 
join spaces s on c.spaceid = s.spaceid 
where contenttype = 'ATTACHMENT' ;
TAGS
AUG Leaders

Atlassian Community Events