We have 2x EOL macro's in HTML elements and Include content
We want to get rid of these macro's and we don't want to manually edit each page.
I can see when I view page storage, that HTML elements "shared block" is as the example at the bottom of this comment.
Can I use the confluence scriptrunner Macro editor to pull the content from inside, remove the macro and just paste it on the page?
i.e. so the macro is removed and only 5.1.0 remains?
<ac:structured-macro ac:name="shared-block" ac:schema-version="1" ac:macro-id="a2ecad27-4dd6-41cb-a8a8-6ee87bee4091"><ac:parameter ac:name="shared-block-key">release_version</ac:parameter><ac:rich-text-body> <p>5.1.0</p></ac:rich-text-body></ac:structured-macro>
@Colin_McDermott , hi, you could try to:
Your user macro should be bodied (as rich-text suggests from your snippet) and the macro's template should have a user parameter
## @param key:title=Shared Block Key|type=string|required=true
Regards,
Anatolii from Wombats Corp
Hi Colin,
Since no one has answered yet, I suggest you open a support ticket with Atlassian for guidance.
https://support.atlassian.com/contact/#/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.