Hi there!
Our Jira server sccessfully registers new issue comment from email. We have corporate standard to use personal decription in email. Such as
Best regards,
Ivan Ivanov
Senior accounter
tel. +7 555 555 55 55
And this decription are added to issue comment. We want to exclude anything from comment after separator "Best regards".
We've added Regexp mail handler with Split Regex param =
/(best(\s+)regards)|(_________*)|(-----\s.*?\s-----)/i
But this doesn't work, description are added to comment still.
When we use separator "__________________", description are sccessfully excluded from comment.
__________________
Best regards,
Ivan Ivanov
Senior accounter
tel. +7 555 555 55 55
What regex we should use for separator "Best regards"?
Hi Jack.
Thank you for your reply. It doesn't work. Because commas aren't allowed in Split Regex param.
Add a comment before a specified marker or separator in the email body
Hi
What about if you add the final comma to the regex expr?
EDIT:
/(Best(\s+)regards.*)|(_________*)|(-----\s.*?\s-----)/i
Does it work?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jack.
Thank you for your reply. It doesn't work. Because commas aren't allowed in Split Regex param.
Add a comment before a specified marker or separator in the email body
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've edited my suggestion, could you try again with this new one?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.