Hi to all,
I need your help configuring an Incoming Mail Handler with Rex ex content exclusion.
I need to strip the text after the second occurrence of the word "From".
I have checked on https://regex101.com/ this regex
The result is the one I expected:
the original text is
The result applying the regex is:
The highlighted text is exactly the string after which I need to strip the content.
When I try to insert the above regular expression on JIRA Incoming Mail Handler nothing happens, the email content is not stripped and all it is used to create the comment on the issue.
Thank you in advance
Mail handler uses Perl5 regex (Perl5Util to be precise) to split the the input by given regex. If the result has more than 1 elements the first one will be used (everything before the regex match) otherwise the original text is used. I'm not a perl regex expert myself but you would need to get your regex to work under perl5.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events