Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Interceptors are not triggering

Aaron Martone May 16, 2018

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
TAGS
AUG Leaders

Atlassian Community Events