Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to trim names of graphic files in email notifications?

Szymon Ptak May 7, 2021

Hi I have configured custom email notifications via automation.

I am having trouble trimming names of graphic files when there are more than 1.

My case works only if there is 1 attachment at a time, but what if there are 2 or more?

 

notification output:

     !222.png|width=130,height=140!
     !3333.jpg|width=124,height=142!

my formula:

     {{comment.body.substringBetween("!","|")}}

output after formula:

     222.png

---------------------------------------------

What I'd like it to be :

     222.png

     3333.jpg

 

I would very much appreciate a bit of help. Thank you :)

1 answer

0 votes
Szymon Ptak May 10, 2021

Can it be achieved by any chance?

Suggest an answer

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

Atlassian Community Events