Forums

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

Email notifications to Approvers

Kelly Phillips
Contributor
March 27, 2025

So, I know there there is no way to edit the default approval required email with the approval buttons (unless you use the workaround provided by the community).

I have setup an automation email to be sent instead, and it provides a link to the customer portal for the user to click on.

However, when the customer receives the email, it's not very pretty.

What code do I put into the 'Send email' automation section to achieve this?

Attached is an example of the email notification content.  I am specifically interested in having the long URL link provided changed to something like 'View Request here'. I've attached an example of what the default approval notification looks like.  But the coding/scripting you use in the Notification area is different to the scripting you use in the Automation area.

Current automation email:

Screenshot 2025-03-28 103035.png

 

What I want it to look like:

Screenshot 2025-03-28 103733.png

 

What my automation rule looks like:

Screenshot 2025-03-28 103924.png

I know that in the portal, you can use the format [text|https://.......] and it just shows the 'text' words, but when I tried to use that in the automation rule above, it didn't work.

I'm not very good with scripting, which is why I am reaching out.  

2 answers

0 votes
Igor Medeiros - Modus Create
Atlassian Partner
April 14, 2025

Hi @Kelly Phillips

Adding to John's response, you could use a code like the one below to stylize your example:

<p>Hello,</p>

<p>
A change request requires your approval. Please review the details and approve or decline the request.
</p>

<p><strong>Summary:</strong> {{issue.summary}}</p>
<p><strong>Description:</strong> {{issue.description}}</p>

<p>
<a href="{{issue.url.customer}}" style="color: #e26f00; font-weight: bold; text-decoration: none;">View request</a>
</p>

<p>Thank you.</p>

 


However, if you are looking for more powerful tools that would allow you to fully manage your notifications, then I would like to suggest our app Notification Assistant for Jira.

We also have a feature that allows you to insert Jira Service Management approvals into notifications:
nafc_approval.png

Feel free to reach out if you'd like to know more.

0 votes
John Funk
Community Champion
March 27, 2025

Hi Kelly,

You can use this for the clickable link: 

<a href="{{issue.toUrl}}">{{issue.summary}}</a>

 

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