Restricting pages with Automations

Zack Howard
Contributor
August 21, 2023

I am loving the new options for Confluence automations, but have a question about the Restrict Page action. 


My use case:

I am using the automation to scan new pages for certain keywords, and if the page contains that keyword it will add a label to the page, send an email to the page owner, and ideally lock the page down so nobody but the Confluence Admin group AND the page owner can see it. 

 

The problem:

The field seems to only allow me to enter a group or individual user name, but I would like to use a smart value such as {page.author} here so they can still view and edit the page too. I do not see a way to do this. Am I missing something?

2 answers

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 22, 2023

I quickly tried, and the Send email action accepts smart values in the "To" field!

You cannot select it from the dropdown, but you can enter the smart value expression manually. (I haven't tested if the email will actually be sent.)

Zack Howard
Contributor
August 24, 2023

I just checked for this particular action and it will not allow me to type a smart value in:
Screenshot 2023-08-24 122449.png

 

It deletes the value if it is not in the dropdown menu. 

Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 25, 2023

Hmm. I believe it is just inconsistent implementation...

Like Zack Howard likes this
Zack Howard
Contributor
August 25, 2023

Yeah, it seems like this would be a really useful feature, letting the automation lock the page for everyone but the owner (or other smart values). Seems obvious that you would want them to still have access to the page they created. 

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