What is the correct smart value syntax for including a slack mention via user id in a jira condition

Daniel Lizik March 30, 2023

I have an automation rule that looks like


{{issueKey}} picked up by


{{#if(equals(assignee.emailAddress, 'me@company.com'))}}
If I take out the slack id in carets, it's fine. Otherwise I get a "Char can't be parsed from" error. 

1 answer

0 votes
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 1, 2023

Hi @Daniel Lizik 

Without seeing your entire rule for context, I wonder if the @ symbol is leading to an attempted match on a Jira user, as in a mention.  When I try just the text "<@slack-id>" in such a condition, it works with no match attempt, and does not show that error.

You could try removing the @ and storing the expression result in a created variable, and then adding it back in with a replace() before usage.

If that does not work, please consider posting images of your entire rule and audit log details showing the execution.  Those may provide context for other suggestions about what is happening.  Thanks!

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events