Hi community,
Just posting a question here since I've been having trouble finding resources for this.
While using scriptrunner to create a page, I can add macros to it. I do it through XML like this:
xml.'ac:structured-macro'('ac:name':"section) {
'ac:rich-text-body'("here are some values to be shown in the body of the macro")
}but keep running into problems when I try to add a macro within the body of that first macro. Can someone tell me what I'm missing here or point me at some documentation? Not sure how to bypass the 'WYSIWYG' editor many of these macro's have. Here is an example of one attempt of mine:
xml.'ac:structured-macro'('ac:name':"section") {
'ac:inline'('ac:structured-macro'('ac:name':"column") {
'ac:rich-text-body'("there should be some value in here")
})
}EDIT: Found during testing and looking at other documentation pages that you can specify 'inline' instead of 'rich-text-body' or 'plain-text' and it will read a little bit of the code. It was just reading the string value "there should be some value in here" instead of just "ac:structured-macro". Still not invoking the macro to be nested in the section macro.