Forums

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

How do you move all page attachments to another page?

Beth Aitman
Contributor
May 15, 2014

Is there a way to move all attachments from one page to another?

At the moment I use the Confluence CLI to copy all attachments on a page, but I still have to manually edit the page I copied them to so it refers to the new attachments. It's not clear that using the CLI then doing this is actually quicker than moving each attachment individually.

I know there's a feature request for this, but can anyone suggest a workaround in the meantime?

2 answers

0 votes
Davin Studer
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.
May 15, 2014

The CLI can also do find and replace on page content. So, you could have it look for instances of the old page and replace it with the new page.

Beth Aitman
Contributor
May 15, 2014

That might work - so that involves changing the storage format so that it refers to the new page title?

0 votes
Fabio Racobaldo _Herzum_
Community Champion
May 15, 2014

Hello Beth,

my personal workaround is :

1. Copy page (it will create a new page and all its attachment)

2. Edit new page just removing all its content (but not the attachment)

3. Add new content to this new page

I know that it's not a great solution but currently, it is the only way to do that.

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events