We have created two interceptors and were trying to follow the documentation. When the scripts run, we see Atlassian scripts being pulled in, and no console errors appear, however the custom script we have to define the interceptors and define how they trigger does not seem to be executing.
The script looks like:
$(document).ready(function() {
window.ATL_JQ_PAGE_PROPS = $.extend(window.ATL_JQ_PAGE_PROPS, {
'f7038012': {
triggerFunction: function(showIssueCollector) {
$('.js-report-bug').click(function(event) {
event.preventDefault();
showIssueCollector();
});
},
fieldValues: {}
},
'8a638993': {
triggerFunction: function(showIssueCollector) {
$('.js-request-feature').click(function(event) {
event.preventDefault();
showIssueCollector();
});
},
fieldValues: {}
}
});
});