Forums

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

Confluence Automation

John Lord March 20, 2024

Hello,

I am just starting out working on automations in Confluence. The first automation I want to set up is when a new page is created, I would like a smart value to check for key words in the page and add any labels based on the key words it found. So far, I was able to get it set up to add labels based on the title of the page, but I want it to read the contents underneath the title to look for keywords. I looked through the Smart Value variables and did not see anything that looks in the body of the page. My two questions:

If I am able to set up this automation, what is the Smart Value statement?

Is there a way to back date existing pages to have labels added based on keyword automatically? 

1 answer

1 accepted

1 vote
Answer accepted
Jack Brickey
Community Champion
March 20, 2024

Hi @John Lord , can you try {{body.text}} smart value rather than title?

John Lord March 20, 2024

Thanks Jack! That worked. Just a follow up, is there anywhere else statements like that would be? I used this page from the Atlassian site and it doesn't show the body smart value. https://support.atlassian.com/cloud-automation/docs/smart-values-in-confluence-automation/#Page

Jack Brickey
Community Champion
March 20, 2024

That is the right place for it but noticeably absent. I suggest clicking on the provide feedback link at the bottom of that article and letting Atlassian know. Of course, there are a ton of Smart values and hard to catch them all. I rely on experience and trial&error as much as I do the documentation at times.

Suggest an answer

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

Atlassian Community Events