Forums

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

Unsubscribe Link in Automation E-Mail

Sarah Wrenzycki
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 28, 2025

Hi,

I would like to add an unsubscribe link to an e-mail sent from an automation, just like the unsubscribe link from the customer notification e-mails. 

Capture.PNG

(The right one, which says "Benachrichtigungen dieser Anfrage abstellen".)

The unsubscribe link from the customer notification e-mail looks like this in the template: 

 

<a class="jsd-unsubscribe-link" href="${request.disable.notifications.url}">Benachrichtigungen dieser Anfrage abstellen</a>
However, the link does not work in an e-mail sent from an automation, and there seems to be no similar smart value like {{request.disable.notifications.url}} to achieve this.
Capture1.PNG
The e-mail displays the links, however, it is non-clickable.
Capture2.PNG
Has anyone tried this already and has a solution for this?

2 answers

1 accepted

0 votes
Answer accepted
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.
May 28, 2025

Hi @Sarah Wrenzycki 

Welcome to the community.

There is no possibility to unsubscribe from an action executed by an automation rule.

An automation triggers on an action or based on a schedule and executes what is stated in the rule.

Or are you looking to just have a link to unsubscribe from any notificaton not triggered by automation?

Sarah Wrenzycki
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 28, 2025

Hi Marc,

thanks for your reply. No, I specifically want to send it through an automation. 

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.
May 28, 2025

Hi @Sarah Wrenzycki 

So then no, a person receiving an email can't unsubscribe form that email, as automation is sending that email, based on the trigger of the rule.

Actions done by automation based on email are not defined as notifications, they are an action.

0 votes
Aaron Pavez _ServiceRocket_
Community Champion
May 28, 2025

Hi @Sarah Wrenzycki 

Do you want to send a clickable URL using the automation?

You paste the URL into the automation as a smart value?

If you send just the unsubscribe URL without any of the other HTML code. Does that work?

I think automation will strip down anything HTML-related and leave only the string.

But ill need to test it. Can you send the HTML code, or how do you want to achieve the unsubscribe link?

Regards - Aaron

 

Sarah Wrenzycki
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 29, 2025

Hi Aaron,

thanks for your reply! Yes, the unsubscribe link should be a clickable link in the e-mail I'm sending to my customers. I also tried using {{request.disable.notifications.url}} as a smart value, but the link just came back blank in the e-mail.

I copied the unsubscribe link from the source code of an e-mail send through standard customer notifications. It seems to have the following format:

[site]/servicedesk/customer/portal/[number]/[issue key]/unsubscribe?[token]

I think, the issue is with the token, because when I want to re-use the link for another issue key, I just get a 401 (Unauthorized). 

Capture3.PNG

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