The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to trim names of graphic files in email notifications?

Szymon Ptak
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Szymon Ptak
Contributor
May 10, 2021

Can it be achieved by any chance?

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events