Is it possible in an automation rule to know if a JIRA user comments on a ticket and starts the comment with the email of a person?
And if condition is true, that email is retreived?
I have test rule with a Trigger of Issue Commented and as an action I create a Variable with this smart value {{issue.comments.last.body starts with "([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+)"}}.
I tried doing JQL condition with a JQL of key="{{triggerIssue.key}}" AND comment ~ "@" to ensure that the comment has an email in it, but i am told that
- the issue didn't match the specified JQL (most likely)
- the chosen rule actor doesn't have permissions (or issue security level permissions) to view the issue
- the issue was deleted or wasn't indexed by Jira yet (in rare circumstances)