Forums

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

Use regex with "Create a new issue or add a comment to an existing issue" incoming hander?

Tim Graffam
Contributor
June 3, 2020

We're currently using the Create a new issue or add a comment to an existing issue"incoming mail handler to allow users to create and comment on a particular issue type of a particular project.

We would like to clean up the comments so they only show the latest email in a chain. We were able to figure out how to do this with the Add a comment before a specified marker or separator in the email body with regex and it works great!

What we haven't figure out however is how to use this while still allowing to create tickets via email/incoming handler. Adding the "Add comment before marker" alongside the original "Create a new or add comment" adds two comments (one handled by regex and one without). We also tried replacing the "Create a new issue or add comment" with "Create a new issue from each email message" and using along side the "Add a comment". Unfortunately that literally does create a new issue for every email and never comments.

Does anyone know how to accomplish what we're looking for here?

Thanks in advance!

0 answers

Suggest an answer

Log in or Sign up to answer