Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Create Confluence page via API with Jira smart links

We routinely create pages on Confluence by taking data from external sources, building HTML, and POSTing the page to .../api/content.

The pages usually have a bunch of Jira links (e.g. https://{instance}{ticket}).

The issue is that the Jira links are created as plain HTML links. If the link is inserted in the page editor, it turns into a smart link (inline view):


I've been reading about macros but haven't found guidance on what we need to create the pages so that Jira links are already smart links.


The current workaround is to publish the page, then copy/paste each link over itself to trigger the macro in the editor, which is rather tedious.


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Watch 4 Confluence apps compete for Best App Demo in September's Appy Hours

Calling all collaborators! Appy Hours on the Atlassian Community is a monthly event where 4 Partner and app vendor presenters go head-to-head with 5-minute demos for the title of Best App Demo. I...

569 views 0 13
Read article

Atlassian Community Events