Forums

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

Incoming Email Handler Split Regex on Image

Nico Harold
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 4, 2021

We currently have an incoming email handler to add a comment on Issues when someone replies to a Jira Notification.  We used the Add a comment before a specified marker or separator in the email body option and used Split Regex '/\[1]/' as we have a system that adds an Email Signature on replies and the first part of the Signature is an image with a link to our website.  In the comments this image comes across as '[1]' in the Jira comment where it identifies at the bottom that [1] is our website address.  This works to filter out the rest of the email content and text from the signature but the images are still being added to the issue as attachments.  Is there a Split Regex function that will drop everything past the first image? 

 

I understand that this might prevent someone from sending an image as a comment but I'd rather have that then having the four images in our signatures being added to issues for each comment.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events