How to add multiple attachments to a page at once
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Confluence offers several ways to add many files to a page at once:
Using Confluence's Drag-and-Drop functionality, simply drag the files onto any Confluence page. Refer to Using Drag-and-Drop in Confluence for more information.
Confluence pages and attachments can also be mounted as a network drive, and files can be dragged and dropped into Confluence using the WebDAV Plugin.
Alternatively, users who do not wish to use WebDAV can write a custom script to attach all PDF files in a directory to a Confluence page using the addAttachment function in the Remote API. This script can be adapted from one of the Remote API script examples.
Was this helpful?