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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Monday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

182 views 3 3
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