It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
Highlighted

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
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you