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: 

Remove images and links from description field

Lucas de Souza
Contributor
April 5, 2024

Hey everyone I have a hard task.

Windows Defender API sends us an email to our Jira service management, which becomes an incident ticket. The issue is that the description comes in wiki format and the image links are huge.

My question is is there any way to remove the wiki format only on those issues?

I tried {{issue.description.substringBetween("","")}} did not work well or was not reliable.

This is the log action from {{issue.description.text}} 

exampleinf.png

Any help or suggestion would be very much appreciated.
Best, Lucas.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Brant Schroeder
Community Champion
July 20, 2024

@Lucas de Souza I would suggest making a rule on your email server that cleans the emails up before JSM pulls them in as an issue.  This would be easier to do since you can make specific rules for the defender emails.  It will be much harder to make a regex on the email handler to parse the unwanted content.

TAGS
AUG Leaders

Atlassian Community Events