i'm search a method to get the bodycontent of an macro that are inside of an given page.
def pageMangaer = ComponentLocator.getComponent(PageManager)
def bodyContent = ComponentLocator.getComponent(BodyContent)
def userMacroLibrary = ComponentLocator.getComponent(UserMacroLibrary)
def macro = userMacroLibrary.getMacro("include-section")
def page = pageMangaer.getPage("space","Ricardo da Silvas Startseite")
this is what i got right now, but i'm looking for a method to get the body content of the used macro in that page.
I hope someone can help me with this.
Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋♀️ ...
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