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!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.