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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,372 views 99 8
Join discussion

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