I am trying to load a js to the approval page of customer portal in jira service desk using a plugin.. I have added below web-resource in atlassian.xml:
<web-resource key="my-resources" name="myPlugin Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<resource type="download" name="approval.js" location="/js/approval.js"/>
<context>atl.general</context>
<context>customerportal</context>
<context>customer-portal</context> //tried all of the above contexts..nothing worked
<context>jira.view.issue</context>
<context>myPlugin</context>
</web-resource>
Its executing in view screen and all other general screens..But its not executing in any of the customer portal pages.. I have tried all the possible contexts..Is there any config I am missing? Or is it not possible?