Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Insert Jira tickets as inline cards in Confluence pages via API

Álvaro Boza
February 24, 2026

I am trying to automate the creation of Confluence pages using n8n workflows (making use of the Confluence API). Would it be possible that when adding Jira tickets (via URL), they are automatically copied as inline cards on the Confluence page?

2 answers

0 votes
Tomislav Tobijas
Community Champion
February 25, 2026

Hmmm, you can try to use Atlassian Document Format (ADF) in your page body for this @Álvaro Boza 👀

I haven't tested this properly, but you could try using something like this:

{
"type": "page",
"title": "Example Page",
"space": { "key": "SPACEKEY" },
"body": {
"editor": {
"value": "{\"type\":\"doc\",\"content\":[{\"type\":\"paragraph\",\"content\":[{\"type\":\"inlineCard\",\"attrs\":{\"url\":\"https://your-domain.atlassian.net/browse/ISSUE-KEY\"}}]}]}",
"representation": "atlas_doc_format"
}
}
}

The key thing here is using the "inlineCard" node.

Here's this JAC feature request that also mentions improvements in this area, just related to automation: AUTO-2100: Improve Automation for Creating Confluence Pages from Jira Issues 

Cheers,
Tobi

0 votes
Prasanna Ravichandran
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 24, 2026

Hi, 


Inline Jira cards (Smart Links) cannot be created directly via the Confluence API.

Workarounds:

• Add the Jira issue URL in the page — Confluence will auto-convert it to an inline/card link when viewed or edited
• Use the Jira Issues macro in the API page body (storage format) to display issues
• Create the page first, then open/edit and save it once to trigger Smart Link conversion

Note: Smart Link cards are generated by the Confluence editor, not the API.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events