Custom email notification for Automation

Ted
Contributor
December 10, 2021

I have a Automation rule that sends an email to users when when a ticket is due within 24 hours.

I have the rule set up to send the email, but I need some help with the email itself.

 

I would like the email header to have the ticket number and ticket title.

In the content field I would like the message to have a link to the ticket, and a have it say they have 24 hours before its due.

 

Thanks,

1 answer

1 accepted

1 vote
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 10, 2021

Hi Ted,

You can use something like this for the subject:

Ticket {{issue.key}} - {{issue.summary}} has been created

Body:

Write whatever text you like. This would be the link to the card: 

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

Ted
Contributor
December 13, 2021

I will try this and let you know. Thank you for the suggestion.

Ted
Contributor
December 13, 2021

One question, issue.toUrl I am assuming I will need to put our instance address in there, or do I just leave it?

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 13, 2021

you just leave it - it will pick up the right link.

Ted
Contributor
December 13, 2021

Fantastic, I will see if it works when the rule runs.  Thank you.

Like John Funk likes this
Ted
Contributor
December 14, 2021

The rule runs and the ticket link is there!

Couple more questions:

Ticket due within next 24 hours ${issue.key} ${issue.summary} That is the email header, how do I get the issue key and summary to actually show the info?

Two, this sends this notification to all of the service desk users group.  How can I make this send to just the ticket owner who's ticket is coming due?

 

Thank you!

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 14, 2021

You should use this for the title and not with the $

 {{issue.key}} - {{issue.summary}} 

Just send it to the Assignee in the To: field

Ted
Contributor
December 14, 2021

Ok, I will change that and let you know.

Thank you so much.

Like John Funk likes this
Jessica R Jones
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 3, 2024

Has this changed? I am attempting to do the same with an automation of a ticket. However, It does not work for me. Any suggestions?Snag_10c1eb4c.png

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 3, 2024

Hi @Jessica R Jones  - what is not working?

Like Nic Brough -Adaptavist- likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events