Include macro does not work in templates

I have a template that uses the include macro.

When the template is used, the include macro does not render.

The following error message is displayed: Unable to render {include} The included page could not be found.

The page name I am using is correct. I have tried using the space abbreviation in the page name also and this doesn't help.

If I take the same code out of the template and insert it into the page, then it works fine.

It seems to me that the include macro does not work proberly in the templates in Confluence 4.

I am using C v4.1.9.

Does anyone else have this problem?

Can anyone from Atlassian reproduce this issue?

3 answers

I just tried (with 4.0.4) and it works fine.

Can you copy your template code here?

Thanks Jonathan, we have just upgraded to Confluence 4.3 to test it out - this makes things a little different with the new template system.

I don't think there was anything special about my template or the page it was including.

I will repeat the problem and send through the details once we have reverted back to Confluence 4.1.9.

So the plot thickens ......... :)

If you create a page, then create a template which includes that page and then create a new page from the template, it works.


If you create a page, which in turn creates a child page using the "create-page" plugin, then if you try and use the include plugin on the child page, it throws an error as above.

Something is not registering properly in the create-page plugin I expect.

Anyone from Adaptavist wish to comment?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,316 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot