It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Directly editing Confluence, on the server

I am tasked with going over 100's of Health Check links on our Confluence server and to adjust the Timeout of ‘HTTP status with expected content' Macros.

ie. I have to browse to 100 pages and edit 20 macros on each.

I am hoping that I can do this programmatically, directly on the server.

Is this possible?  

Thank you.

2 answers

0 votes

I'd do it with either one of the "search and replace" add-ons, or Script Runner for Confluence.

Looking there!  I appreciate the time.

In similar cases I have used the Confluence Command Line in the past. (It's a commercial plugin though)


Thank you Michael!

I was reminded of the config.xml's of Jenkins and wondered whether there might be files on disk, on the server, that I might find my macros in to edit directly.

But the suggestions are most appreciated.

We already installed a trial of Search and did not seem to find the macro in question....will try again.

(it also left my team cold that it warns that it can wreck your world in an irreverible fashion! ;0)

If your Confluence is relativly small you can do an xml export with "backup & restore" function. In the exported xml you can do the search and replace.

You can restore the Confluence system with the modified XML afterwards. However, for bigger instances this is not feasible.


Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

116 views 0 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you