Hello,
I'm currently stuck trying to pass a variable to a custom multiexcerpt user-macro. I use the following script where $EpicNumber is set in a Confluence template page upon creation.
The user macro:
<ac:macro ac:name="multiexcerpt">
<ac:parameter ac:name="MultiExcerptName">$EpicNumber</ac:parameter>
<ac:rich-text-body>
$body
</ac:rich-text-body>
</ac:macro>
When using the macro and checking it in the source editor it shows:
<ac:structured-macro ac:macro-id="f4462711-1238-4431-bc52-731f1ab8de49" ac:name="excerptvariable" ac:schema-version="1">
<ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<br/>
</p>
The following line is completely missing so I doubt the macro is correctly using the multiexcerpt one:
<ac:parameter ac:name="MultiExcerptName">$EpicNumber</ac:parameter>
Please note the name "multiexcerpt" is already taken by the original plugin so the macro name is not 'multiexcerpt' but 'excerptvariable' in this case.
Do you know how I should proceed?
Thanks in advance!
-Chris