How can I update existing pages that were created using and existing template?

Hello,

We've got a ton of pages that were created using a template (let's call this Project Template) that were in turn created from a Python script. We've updated the template the script uses and now want to apply this to the other Project Templates we already have.

We can ID the ones we want to update, but how can we apply the updated template to the existing Project Templates? Obviouly we don't want to lose the content, which is individual to each project.

I hope this is clear, if not, let me know. Cheers.

1 answer

This widget could not be displayed.

It depends on how easily you can distinguish the text to be changed from other text on the page. See How to automate adding text to Confluence pages

Bob,

Thanks, It's not the info, it's the template itself. I don't think it matters that we used a python script to create the initial set of docs.

We can ID them all very easily. Applying the new template seems to be another matter. :)

Cheers.

I should have explained a bit more. Once a page is created from a template, it is just a page like any other. You can modify the page contents using the techniques in the link by figuring out appropriate regex search and replace to try to get the page more like the changed template.

If you want more permanent templates that can be updated, you need to use something like the Scaffolding Plugin.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

195 views 18 7
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