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

This widget could not be displayed.

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

Can you copy your template code here?

This widget could not be displayed.

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.

This widget could not be displayed.

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 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 yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

76 views 1 0
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