I'm writing a ScriptRunner snippet to pull content from a page so that I can parse it, and so far I've been able to pull content but it ignores the content in the code block macro, is there something I'm missing, or will this method not work with content in macro blocks?
def pageManager = ComponentLocator.getComponent(PageManager)
def page = pageManager.getPage(myPageID)
Is there a mistake in that, or another way to pull the content in the page other than page.bodyAsString?
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events