Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,180
Community Members
 
Community Events
168
Community Groups

Interceptors are not triggering

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: {}
}
});
});

0 comments

Comment

Log in or Sign up to comment