I am trying to have a notification be sent via slack if a specific user is mentioned in the most recent comment on a Jira Issue.
I feel like this is doable via JQL, but for some reason I can't seem to get the syntax right:
- {{issue.comments.last.body}} ~ accountID
(The accountID variable is just the account ID of the specific user in jira)
I've confirmed that {{issue.comments.last.body}} is a valid smart value that does in fact pull the last comment that was placed on an issue, but for some reason I can't get criteria to be met so that a message is only sent when the accountID appears in the last comment.
Any assistance would be greatly appreciated, also if any clarification is needed please let me know.