The blockCard node is an Atlassian link card with a type icon and content description derived from the link. It provides the same functionality that inlineCard does, but renders its link as a standalone block rather than in combination with the other inline content in a paragraph or similar container.
1 2 3 4 5 6doc( p("Hello"), blockCard("https://jira.atlassian.com/browse/JRACLOUD-72220"), p("World") );
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31{ "type": "doc", "version": 1, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Hello" } ] }, { "type": "blockCard", "attrs": { "url": "https://jira.atlassian.com/browse/JRACLOUD-72220" } }, { "type": "paragraph", "content": [ { "type": "text", "text": "World" } ] } ] }
Hello
JRACLOUD-72220 – Java client for building/parsing ADF
IN PROGRESS
World
Note: This example output is not using AtlasKit to render the block card, so while it gives a vague impression of what a “block card” is, it does not faithfully reproduce the actual presentation in Atlassian products. In particular, it isn’t possible to set the font color, so the “IN PROGRESS” status lozenge is not shown correctly, here.
| Confluence | Jira |
|---|---|
| ✅ | ⚠️1 |
❌ N/A
blockCarddata, url, or datasource, and data cannot be combined with the others
localId, when present, will typically be a random UUID. This is not enforced by the schema.↩︎localId, when present, will typically be a random UUID. This is not enforced by the schema.↩︎datasource type is currently under development and not yet fully documented. Its initial use is expected to be in Confluence with respect to reimplementing the Jira Issue Macro, and it will not initially be supported in Jira. More information will be provided here as it becomes available.↩︎Rate this page: