Create confluence page using macro through API

Logesh Shanmugam May 12, 2021

Hi,

My aim is to create a Confluence page with the details retrieved from JIRA by automation. We can manually create a page in confluence using the JIRA macro available (which will fetch the details from JIRA using JQL query provided). 

But how to create a confluence page using JIRA macro available through Rest API's provided by Atlassian? To be specific, how to access macros through API?

 

 

 

1 answer

1 accepted

0 votes
Answer accepted
Esther Strom
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 12, 2021

Hi, @Logesh Shanmugam welcome to the Community!

I'm not 100% sure I'm understanding, but it sounds like you want to create a page via automation and include the Jira macro in the page to display links to Jira issues. Is that correct?

If so, I published an article last month about how to do this. You may need to adjust a few details to get the version of the Jira macro you want (my example was the one that displays a single issue, rather than a table of issues), but it should give you a starting point.

Logesh Shanmugam May 13, 2021

Thank you so much for the great info! :)

Like Esther Strom likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events