Add Smart Value Labels to a page using confluence automation rule

Chris.Brown January 4, 2024

Hey,

I am unable to add labels to a page using smart values with the confluence automation feature.

There is a nice confluence template available:

"Add specific labels when a page is published by a certain author" which works fine.

If i try to use other smart values, the validation fails. Even if i delete the label which the template provides "{{content.author.fullName}}-page" and try to type it manually in the "add these labels *" field the validation fails.

It wont accept the smart value input in the labels field , is there something i am missing?

Thankslabel_automation_smart.png

2 answers

1 vote
Matthew Butler January 5, 2024

Try {{page.owner.fullname}}

That's what i got working for me for someone creating a new page

Chris.Brown January 8, 2024

Hey, thanks for reply but no smart values work, as soon as there is a '.' dot in the input it wont validate, i tried yours but the same issue. Are you inputting it in the same place as me? The value you suggested isn't listed here. Smart values in Confluence automation | Cloud automation Cloud | Atlassian Support

0 votes
Laurie Sciutti
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 4, 2024

Hi @Chris_Brown and welcome to the Community!  What happens when you just use the {{content.author.fullName}} smart value?

Chris.Brown January 8, 2024

Hey, nothing, you press enter and nothing happens, its blocked. If you use a non-smart value you receive a "create" popup, press enter -> label created.

 

When you try to add smart labels, no popup and you cant press enter. 

Chris.Brown January 8, 2024

Nothing happens, with any smart value, as soon as you type "." the input is invalid. I would expect to press enter and the smart label gets added.

label_smart.png

If you try using non smart values it works as expected.

label_not_smart.png

Yusuke Nakayama June 10, 2024

@Laurie Sciutti Hi, I also want to use smart value to determine which label to be added to a page on Automation.

Are you saying that some or all of smart value can be used in `Add these labels` field in Automation?

 

Yusuke Nakayama June 10, 2024

Just for your information, I confirmed that one of the smart value can be used( what i have tried is to use `{{page.parent.title}}` to add label action)

 

Suggest an answer

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

Atlassian Community Events