Creating pages and adding macros from Jira to Confluence using post-fucntion

We are using "Bob swift: RUN CLI for Jira" plugin to create confluence pages through templates. Pages are created successfully but we are not able to add macros. We want to add multiple macros in confluence pages and we want to replace confluence page's title with issue key and link the Confluence pages with Jira.

Used this parameters to add macros but it show unwanted macros: 


--action modifyPage  --space "zclimodify"  --title "MODIFY"  --content "<ac:structured-macro ac:name='~unmigrated-inline-wiki-markup'><ac:parameter ac:name='atlassian-macro-output-type'>BLOCK</ac:parameter><ac:plain-text-body><![CDATA[{wiki:param1=xxxxx}bodyText{wiki}]]></ac:plain-text-body></ac:structured-macro>"  --noConvert

 Capture 2017-11-04 at 14.06.06.pngCapture 2017-11-04 at 14.12.12.png



1 answer

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,541 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you