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)

https://marketplace.atlassian.com/plugins/org.swift.confluence.cli/cloud/overview

 

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 Replace....it 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 Oct 11, 2018 in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

260 views 1 4
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