I have spent 4 days in using everything that was available for me to use. Starting from Dapplo.Confluence to Script Runner and still have not been able to achieve what I want to. This is my situation.
If Page Parent in Space A is updated, meaning if any new page is added, or old deleted or modified, I want to run a job/batch which would copy the contents along with attachments/comments etc to Space B Page Parent to necessary children. If page is existing it will be updated in Space B page parent, if its not existing it will be created.
Please help me as I am out of options right now.