Replace and Render not working properly in Confluence 4

I am using a replace and render to determine the correct page to create a child page under based on the current year. This works in C3.5.16.

The code I am using is wrapped in a wiki-markup wrapper.


{create-page:template=CoC|title=%title%|parent=%parent%|mode=edit}Click to submit your confirmation.{create-page}
{replace-item:%title%}{report-info:variable:Year|format=#} Coc Confirmation - {report-info:global:current user > user:full name}{replace-item}
{replace-item:%parent%}{report-info:variable:Year|format=#} Coc Confirmations{replace-item}


This produces the following error:

Has anyone encountered similar problems or know how to get around this?

Cheers, Mick

1 answer

I have an update on this.

I have found that it is not necessarily the replace-and-render that isn't working properly, I think it is the wikimarkup plugin that is having problems.

It seems that the wikimarkup plugin is not accessing the variable Year correctly through the report: {report-info:variable:Year}

As this is sufficiently different from the topic of the thread, I have created a new thread for this particular issue.

The thread is here:

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

230 views 6 8
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
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