Forums

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

remove script in email notification template

Olivier Bourgeois January 30, 2020

We are using Service Desk (Cloud version)

When a notification is sent to the customer, the email template include some scripts in the header to allow the link do display the ticket in the portal

How to edit this template to completely remove this script ?

the problem is that this script is blocked by some anti spam filter (and this is normal) that will disable the script and replace it in the message, braking all the look and feel of this email.

this is the first line that will appear "in clear" in the body of the mail of the customer :

{"@context":"http://schema.org","type":"EmailMessage","description":"View request","potentialAction":{"@type":"ViewAction","target":"https://xxxxx.atlassian.net/servicedesk/customer/portal/2/FH-96?token=eyJ0eXAiOixxxxxxxU5MjYzOTJlMmM1YjBjNyyyyyMTRlYWFhc0Ylc2stand0LXRva2VuLWlzc3VlciIsImNvbnRleHQiOnsidXNlciI6IjEwMDE0IiwiaXNzdWUiOiJGSC05NiJ9LCJleHAiOjE1ODI4MDI2MjcsImlhdCI6MTU4MDM4MzQyN30.U7tXDFTHm926sBwiwPdrFhl36IHRQprELF7YlLpzdaU&sda_source=notification-email-action","name":"View request"},"publisher":{"@type":"Organization","name":"Atlassian","url":"https://www.atlassian.com"}}

 

My question is for the CLOUD version of Jira, because in this version it seems that you can only edit the html part of the template but not remove this script part ...

OB

1 answer

0 votes
Jack Brickey
Community Champion
January 30, 2020 edited

Hi Oliver, can you go to Project settings > customer notifications and inspect each of the notifications via “edit”. Note I just saw the last part of your inquiry. You will not be able to modify the default links. You might consider an addon like JETI, replacing the JSD mail handler altogether. 

Olivier Bourgeois January 31, 2020

Yes through the project settings notification editor you can remove the button but not the associate script :-(

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events