JETI Split regex does not work in Mailhandler while creating new issue

I have setup the Email This Issue Mail Handler to create new issues or comment on existing. I chose the "Create or Comment Issues (Supports Split Regex) " proccesing strategy.

It works well, when a comment is created, but does not work when a new issue is created from Mail. The Mails are not splitted after the Regex expression.

The regex is:

/=====+/

 

What can we do to split the Mail Body when creating a new issue from mail?

1 answer

This widget could not be displayed.

Hi!

as i know split regex does not work on new issue creation

you can go other way and set fields in creation. There you can set command like "put all info after =====+" in invisible fields or something like that.

cheers!

Hi Stas, thank you for your suggestion, but this doesn't help. I set up an Fields initialization rule to split the Mail and set the Description with JETI, but then JETI does not remove the double empty lines from Outlook Mails. Is there a way to fix that? Because it looks hard to write a regex with group matching that splits the empty lines and split the body after the 5 "=". Cheers!

Hi Benjamin! I thought that Outlook mails has regex like "-------Outgoing message-------". and what if message will come from other mail client? Cheers!

We don't care about other mails, in this MailAccount :-)

Oh. all messages comes to your jira mailbox only from 1 mail acc? so just use mail settings to change regex. or use newline and endline symbols in split regex detection (cant remember them now)

Split regex does not work in issue creation :-), Field initialization rules do only support machtching groups.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

157 views 16 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you