Forums

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

Confluence Blog Post Smaart Vales

Matheus França
Contributor
January 26, 2024

I'm facing some problems about Confluence's smart values focused on blog posts.


- I created an automation so that every new post sends an email to group members notifying them that a new item has been published.
- This automation is used to communicate with our teams with faster messages that are already documented in Confluence.
- I would like to include the name of the post, the link and the content of the post in this email.
- {blogpost.title}} and {{blogpost.url}} worked normally, but not for the content.

I have already used the following examples and the content is not listed in the email or in the log action:

{{page.body}}
{{page.body.text}}
{{content.body}}
{{content.blogpost.body}}
{{content.blogpost.body.text}}

https://support.atlassian.com/cloud-automation/docs/smart-values-in-confluence-automation/#URL.1

 

 

1 answer

0 votes
G subramanyam
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 26, 2024

Hi @Matheus França welcome to the Atlassian community.

If I understand correctly, you're trying to automate the process of sending notifications about new blog posts in Confluence, and wanted to include details like the blog title, link, and content in the email. You've successfully used for the title and link, but encountering issues with including the content of the post!

While Confluence's smart values are generally powerful for automations, blog post content can be a bit tricky. That's because current smart values offer access to title and URL for sure. My assumption, the content isn't exposed through Smart Values.

Few approaches you can try:

  • Give this smart value a shot: {{blogpost.body.text}} This should pull the plain text content of the blog post body.
  • Have a look at this blog posts macro 

 

 

Matheus França
Contributor
January 29, 2024

Good morning!

Unfortunately this smart value didn't work either.

Suggest an answer

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

Atlassian Community Events