Hello,
I have Jira Automation script that sends message to Slack when issues with certain conditions are created.
However, I'd want to add a Slack emoji to the message whenever the issue is Blocker by priority.
Currently my automation script has the following line:
Priority: {{if(priority(Blocker))}}:blocker:{{/}} *{{priority.name}}*
Which, hopefully would print ":blocker: Blocker" when it's a blocker, and otherwise just the name of the priority, such as "Normal". For clarification, :blocker: is the name of the emoji I'm trying to call on Slack.
Is the condition correct? So far it doesn't seem to be working.