Greetings all, I'm reaching out to understand if anyone has faced this need or is aware if any 3rd party add-ons provide this type of functionality.
Our users are looking to apply a space-level template (customizations) to a page created from a global template. I've looked into doing this with Confluence Automation and from what I found, it was not feasible. I'll outline what I've tried below, the bolded items are the blockers.
Trigger: 'When page published'
Condition: "If {{content.labels}} contains 'label-name'" AND
Condition: "If {{space.key}} equals 'spaceKey'"
Action: HTTPs call to get the local space template's body (this does not seem to be feasible?)
Action: Merge page body (global template) with retrieved space template body
Action: Update/Publish page
Any insights here are much appreciated! I think the only options I'm left with are a custom macro using Forge or possibly ScriptRunner?