Hey everyone,
I am currently working email logs (so email to issue) and connecting it to another issue. So currently when I receive an e-mail, it creates a task and everything is correct, but it is a stand alone task. I want to connect this via e-mail.
What REGEX code is needed to extract the e-mail from this description:
[Created via e-mail received from: Mindjito <swamprjvm3@gmail.com>]
And while I am here, is it possible to disable that jira removes the e-mails. I solved it differently, but just not deleting would work best.
Hi @Mindjito
I recommend performing an internet search for "regular expression to find email address in text", and then try using any suggested results.
And, as the regular expression and match() function behavior for rules are not fully described, I recommend testing for a variety of scenarios in your rule: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/#match-- You may find that suggested regular expressions work differently in automation rules than they do in other tools / programming languages. In general, I suggest using the simplest regular expression that can possibly work, rather than a more complex one to handle edge cases.
Kind regards,
Bill
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.