Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create new issue / add comment from email doesn't support regex

Dave Ahlers
Contributor
May 21, 2017

I would like to have a single email address per project to both create new issues AND append comments to existing issues.  I tried using this email handler: "Create a new issue or add a comment to an existing issue" as documented here: 

https://confluence.atlassian.com/adminjiracloud/creating-issues-and-comments-from-email-779288896.html 

However, the append comments functionality is clunky.  The entire email body is inserted as a comment, even if it was already there.

There's a separate email handler that uses regex to detect the end of the new comment, but that option is not available in the "Create new OR append comment" handler.

I then tried creating two handlers, but the create+append handler executes before the comment only handler.

The only other option I can see is to create 2 email addresses for every project - one for new jira items, and one for updates.  But with dozens of project and people, no one will be able to keep this straight.

Is there a way to do this that I'm missing?

1 answer

0 votes
Mirek
Community Champion
May 28, 2024

Hi, 

The handler that should be used is 

Add a comment before a specified marker or separator in the email body

and there is a option Split Regex which I always set to 

  • /From: *|___.*|On .*wrote:|----Orig.*|On .*(JIRA).*/

and so far no issues with it. 

Suggest an answer

Log in or Sign up to answer