Hi,
is there an option to run an automation rule whenever a user is mentioned and to reuse the user mentioned as a variable into the actions section?
Best, Martin
Hi @Martin,
Try to use the combination of the trigger Issue commented and this Advanced compare condition:
First value: {{comment.body}}
Condition: contains regular expression
Regular expression: \[\~.*?\]
To get the username mentioned, use this smart value: {{comment.body.match("(\[\~.*?\])").remove("[~").remove("]")}}
It will find [~username] in a comment body and remove brackets with the symbol ~, so I'll get only the username.
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.