attachment confluence content

Hsu Yao Chang February 2, 2017

Dear Support Team, 
Would it be possible to use sql language to find out attachments list in some space? We use as listed as below:
select * from attachments where pageid in (select pageid from content where spaceid='12288001')

But some attachments are not shown in the result.

1 answer

0 votes
Rodney Hughes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 2, 2017

Not sure what the context is of your request, but ...

why not just insert the "Attachments" macro in the main body of the page

Edit Mode then <<Insert+>> and select <<Other Macros>>

Hsu Yao Chang February 2, 2017

We wish to use sql language to find out attachment list in some space as listed as below select * from attachments where pageid in (select pageid from content where spaceid='12288001')

I have ever try attachments macro , but it just can list the attachment in the page, not all attachments in the space. 

Thanks a lot.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events