Forums

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

Stripping out specific images from attachments in emailed in issues

Ste404
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 6, 2023

Hi there,

Working with someone at the moment that uses a third party app to add email signature information to their tickets.  I have all the email sig content stripped out but the 4 images (linkedin, facebook etc) come through as attachments and then bloated in comments.

The images are named differently each time but have a consistent image###.png format to them, the ### is what changes each time.

I have built an automation rule that uses this regex ^image\d+\.png$ to delete the attachments, but it leaves a broken comment as the images were added to the comment.  Now instead of 4 images in a comment there are 4 boxes that say  "Preview Unavailable"

thanks

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events