JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function(e, context, reason) is not triggered on browse/[issue-key] page, when the page is loaded or refreshed. It works fine when any event like issue edit, comment added, etc takes place. It also works fine when we view an issue through projects/[Project-Key]/issues/[Issue-Key].
It works fine in Jira 7.3.0.
Here is the atlassian-plugin.xml code:
<dependency>com.atlassian.auiplugin:aui-experimental-iconfont</dependency>
...[reference to js script , css]
<context>[reference-to-ui-file]</context>
<context>jira.navigator.advanced</context>
<context>jira.navigator.simple</context>
<context>jira.browse.project</context>
I tried adding the below lines, however, it does not help.
<context>jira.view.issue</context>
<context>jira.issue.create</context>