I am trying to upgrade a page which was working on Jira 7.9 to 8.5.
The problem i am facing is that the soy parse is throwing below error.
Uncaught TypeError: Cannot read property ‘csp_nonce’ of undefined
After debugging i have found out that this error is thrown when i include specifically below code snippet
<button class="aui-button">
<span class="aui-icon aui-icon-small aui-iconfont-vid-pause">Pause synce</span>
</button>
<button class="aui-button" style="padding-left: 10px;">
<span class="aui-icon aui-icon-small aui-iconfont-refresh">Resume sync</span>
</button>
<button class="aui-button" style="padding-left: 10px;">
<span class="aui-icon aui-icon-small aui-iconfont-error">Force Sync</span>
</button>
Based on 8.5.0 AUI, I don’t see any problem with the code. Any help would be appreciated.