Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,417
Community Members
 
Community Events
165
Community Groups

Editing a template or a bulk change the pages?

Greetings, i've created a custom template for my confluence articles. It's pretty generic, basically just a footer for a page with a disclaimer.

CORE text
------
Footer

Now, I decided to edit that template and add few more words. Unfortunately, that change does not affect pages that are already created with the previous version of the template.

Now, I have 60+ pages and can manually edit them, but I plan to move the whole company wiki with 3000+ pages to confluence. So I want to make sure that I'll have the ability to bulk edit footer/headers of the pages. Template seems does not work is there any other options?

It seems I can use API to select and bulk edit, but maybe I just need to create those pages in a special manner in the first place?

 

 

3 answers

1 accepted

1 vote
Answer accepted

Hah, it took a while but i found a solution myself!

It's a macro called /include page and it completely solves my problem.
Here is a short explanation by K15t team including some other useful tips, so i encourage everyone to watch whole thing.

@Capi _resolution_you asked to poke you, so please check if that gonna be useful for you too.

Hi everyone,

just came across this post. I am co-founder of ij-solutions and developed this little app during this years Codegeist hackathon: https://marketplace.atlassian.com/apps/1226657/content-toolbox-for-confluence-cloud?tab=overview&hosting=cloud

Maybe it can solve your problem as you can do, beside other things, search&replace over a bunch of pages. So, basically a bulk change. We would appreciate any feedback on the app and what can be done better or what other "tools" might be useful as well.

0 votes
Capi _resolution_ Marketplace Partner Jul 02, 2021

I think you're doing everything right and templates don't work retroactively. However, if you find out some other way, please let me know, as this would be interesting for me as well.

Ditto. I did see some articles about using the API or scriptrunner.But nothing that solves my problem.

But I don't think there is much you can do in the first place - you cant possibly anticipate all possible changes that you might want to make in the future. Templates seem to be the best approach.

A bulk change option similar to that in jira would be nice, but I'm not sure how you would do that for confluence pages.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

186 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you