Forums

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

How to hide or simplify long Mimecast SafeLinks in email-generated tickets?

Andrew
Contributor
November 4, 2025

Hi everyone,
When users email into our JSM project, the ticket description sometimes includes very large Mimecast SafeLinks, such as: https://gbr01.safelinks.protection.outlook.com/?...

Is there a way to:

  • Use automation or another solution to hide these long URLs?
  • Convert them into a simple hyperlink (e.g., “Click here”)?
  • Possibly apply regex to detect and replace these SafeLinks?

Any suggestions or best practices would be greatly appreciated!

2 answers

0 votes
Marc -Devoteam-
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.
November 4, 2025

Hi @Andrew 

You could look into automation to have a rule based on issue creation, remove that information from the description field.

0 votes
Nikola Perisic
Community Champion
November 4, 2025

Hello @Andrew 

Is there any specific reason why users are using that URL for the description? Regular expressions are only available for Jira forms. Speaking of forms does your project use forms? 

https://confluence.atlassian.com/jirakb/using-forms-regex-validation-1255454685.html

Andrew
Contributor
November 4, 2025

Thank you @Nikola Perisic 

 The issue is with users emailing to raise a ticket (this is a requirement for our process). Our client uses Mimecast, which adds a security banner and a very long SafeLink

I initially tried trimming the message, but we discovered that some tickets are forwarded which means you lose the latest comment and the emails can contain multiple banners,.

What I’m looking for is a way to:

Detect and clean up Mimecast SafeLinks in the email body when the ticket is created.
Ideally replace them with a simple hyperlink (e.g. Click here) or remove them entirely. We can always go to the email log if we need to retrieve the link.

Nikola Perisic
Community Champion
November 4, 2025

@Andrew 

You could create an automation rule that for a condition will have JQL which will have a keyword of text followed by tilda sign.

text ~ your link would go here

This will scan whole issue containing any text. Then for the action you would select Edit work item, select Description and leave it empty which will clear it afterwards.

Like Marc -Devoteam- likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events