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!
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
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.