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


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

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


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. :)


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
Community showcase
Published yesterday in Agile

Are you a Jira Service Desk agent? We want to talk to you!

Are you a whiz at handling tickets and looking at how you can further optimize your workflow with automation? Do you tackle detailed customer support questions while simultaneously getting flooded wi...

25 views 0 2
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