Forums

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

Change the look and feel of customer notifications

Sara Jarekji October 4, 2022

I created a template to display the required info; but i am not able to add variables it is giving error.

Once a variable is added it is giving the error [object Object].

I have attached the required format.

Any idea why such error is popping out.

error.PNGformat.PNG

2 answers

0 votes
Joseph Chung Yin
Community Champion
October 5, 2022

@Sara Jarekji -

Hi Sara:

I just did a quick test, my following configuration displays without any error -

 

<div class="jsm-message-content">
${message.content}
</div>
<table>
<tr><td style= "border: 1px solid black;">Description</td><td style= "border: 1px solid black;"> ${issue.summary}</td></tr>
</table>
<p>
<a class="jsm-issue-link" href="${request.url}">View request</a>
<span class="jsm-link-separator">&middot;</span>
<a class="jsm-unsubscribe-link" href="${request.disable.notifications.url}">Turn off this request's notifications</a>
</p>

<p class="jsm-request-sharedwith">
This is shared with ${request.sharedwith}.
</p>

<p class="jsm-help-center-footer">
${helpcenter.name}, powered by <a class="jsm-servicedesk-link" href="${atlassian.url}">Jira Service Management</a>, sent you this message.
</p>

This what is show in the preview screen -

2022-10-05_10-15-27.pngHope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Sara Jarekji October 6, 2022

Hi @Joseph Chung Yin 

Thank you for sharing this.

I tried your suggestion it did not work still giving me same error. I applied the above as it is regardless of the required template yet it did not work unfortunately and gave same error "[object Object]".

Sara 

Joseph Chung Yin
Community Champion
October 7, 2022

@Sara Jarekji -

I would recommend you to contact Atlassian Support (https://support.atlassian.com) for additional assistance.

Best, Joseph

0 votes
Fabio Racobaldo _Herzum_
Community Champion
October 5, 2022

Hi @Sara Jarekji ,

are you sure that issue is related to summary variable? It's possible that problem is related to another variable.

Please could you check all the others variables?

Fabio

Sara Jarekji October 5, 2022

Hello @Fabio Racobaldo _Herzum_ 

Yes i am sure i removed all variables and added one only to make sure where the issue is coming from. Any variable being added is causing this problem on my end. 

issue key, issue summary, issue status ...

I have tried them one by one.

Sara

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events