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

sufiyan khan November 30, 2017

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

0 votes
Sujit Kumar November 30, 2017

.

Suggest an answer

Log in or Sign up to answer