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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

688 views 6 13
Read article

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