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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.