Forums

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

Automation Smart Fields

Ben SIlver April 24, 2025

Hello, I've tried so many things and I can't get this to work.

I'm trying to create a very simple Automation

 

If [USER] is added to [group]

then

publish new page titled "Welcome [User Name]"

then

Restrict the new page permissions so only Me and the user can see it

 

I've tried using {{user}} and {{initiator}} and it just shows up blank

I've tried {{userAdded}} and [~accountId:{{userAdded}}]
These let me write their ID and tag them within the page, but I tried [~fullName:{{userAdded}}] and {{userAdded.fullName}} to no avail.

 

If anyone could help, this is driving me crazy!

1 answer

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 24, 2025

Hi @Ben SIlver -- Welcome to the Atlassian Community!

It appears that trigger gets fired once for each user added (even when several are added at once), and the {{userAdded}} smart value only contains their accountId value.

To get their displayName attribute, the rule could use the Send Web Request action to call the REST API endpoint for looking up the user's information.  If you want to try that, here are the references to help:

Kind regards,
Bill

Ben SIlver April 25, 2025

Bill thank you so much for your reply!

I think this would work... but it seems like so much extra work for something really basic. Is that really the best/simplest way to automatically create a private page for new users?

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 25, 2025

I agree on the complexity problem: it seems like a feature-gap the user (and their attributes) are not provided by that smart value and trigger. 

And that many user smart values for Confluence are missing, or use different names!  (For example, in Jira products, users have a displayName attribute but in Confluence it is called publicName.)

Suggest an answer

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

Atlassian Community Events