Forums

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

change the link to a Space in a 'Page properties report' Macro in 300 confluence pages

Marco Brundel
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.
December 2, 2022

Hi,

In about 300 confluence pages we want to change the link to a Space in a 'Page properties report' Macro.

Is there an option to do this in bulk with a script or so?

We have scriptrunner.

Regards, Marco

1 answer

1 accepted

0 votes
Answer accepted
Nicolai Sibler
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.
December 5, 2022

Hi @Marco Brundel ,

here's a non-script-workaround:

  1. Export the pages to XML as a custom space export
  2. Replace the links in an editor
  3. Import the XML
  4. Replace the pages

The workaround has a weakness: It assumes that the 300 pages in question are organized in one space, or better yet, in one page tree. If this is not the case, it likely takes too much time to select the pages for export across spaces and page trees.

Kind regards,

Nicolai

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events