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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,139 views 4 9
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