Forums

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

Is there a way to get the event name as a variable in the Service Desk Notification Template?

Brody Painter January 2, 2019

I would like to be able to apply a specific styling based on which event triggered the notification. I would like to do something like this:

<div class="${notification.eventname}">

And then have a matching CSS style.

Is there any way to accomplish this functionality with the built in Jira Service Desk Notifications?

1 answer

1 accepted

0 votes
Answer accepted
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 3, 2019

Hello Brody,

Thank you for getting in touch with Atlassian Community!
You can find available variables on Project Settings > Customer notifications > Edit templates > Insert variables and the event name is not available to add on notifications.
We have a feature request suggesting to include more variables:
- https://jira.atlassian.com/browse/JSDCLOUD-6400
Please, click on vote and watch to receive updates and also feel free to add a comment with more details about why do you need this variable.

Regards,
Angélica

Brody Painter January 3, 2019

Thanks for pointing me to this request Angelica!

Like Angélica Luz likes this
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 4, 2019

You are welcome Brody!
Hope you have a good day.

Regards,
Angélica

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events