Forums

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

Adding description with embedded Confluence link through automation

atarab
Contributor
May 11, 2023

Hi everyone,

We use both Confluence and Jira. We often create Jira issues with embedded Confluence pages (by adding a url to the description, and choosing the "Embed" option, as shown here: https://community.atlassian.com/t5/Confluence-articles/Full-speed-embed-Introducing-a-new-way-to-Smart-Link/ba-p/1911946 )

We now want to create an automation that opens issues automatically, with an embedded  Confluence page. 

The problem is that when we add the url to the description via automation, we get a regular link, not embedded.

Is there a way to change the url display type from the automation? Or a different way to embed a Confluence page into an issue through automation? 

Thank you

1 answer

0 votes
Daniel Johnson
Community Champion
December 2, 2024

@atarab you can try using the "Edit Issue" action, and edit the description using this smart value:

[{{createdPages.url}}|{{createdPages.url}}|smart-embed]

In this case, I grabbed the smart-value url from the "Create page in Confluence" action. You should be able to tweak the "smart-embed" value at the end to reflect how you'd like it to display as well:

  • Card: smart-card
  • Inline: smart-link

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