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.
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">·</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 -
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team
Viasat Inc.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would recommend you to contact Atlassian Support (https://support.atlassian.com) for additional assistance.
Best, Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.