I currently have a script that grabs information from a Jira issue as it's created and then automatically creates a Confluence page populated with that information. I am using Scriptrunner for Jira with the API, and my script is a post function. Now, I need a script to run as the Jira issue is updated (or transitioned) that also updates the Confluence page accordingly. There are parts of the Confluence page that I want to keep the same, but I still want to replace the original information with any new information. I'm looking for ideas for how to do this. Can I get the html from the body of the Confluence page, alter it, and then replace the whole page with the new version? Can I pinpoint individual string segments within the existing page and just replace those? Any ideas welcome!