I have a Jira Automation that creates a new Confluence page and this works well, but I want to edit/add content to an existing Confluence page with a web request.
I'm running into an issue where my original content on the page is completely deleted, but I only want to add content, not remove it. Is this possible?
I'm using a PUT method with Custom data request body:
{ "version":
{ "number": "{{#=}}{{webResponse.body.version.number}} + 1{{/}}" },
"type": "page",
"status":"current",
"title": "Test Page",
"body": {
"storage": {
"value": "<p>sample text</p>{{webResponse.body.body.storage.value}}",
"representation": "storage"
}
}
}