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,328,473
Community Members
 
Community Events
168
Community Groups

Announcement Banner javascript via add-on

Required: If Issue Type list is changed - it should call despacito() function

Issue: With Announcement Banner - how can I?

Me: Dumb on Jquery side :-|

Is it possible to get onchange() for field added on create issue screen which overlays any other JIRA screen?

 

1 comment

This should work:

AJS.toInit(function() {
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function(e,context) {
jQuery("#issuetype-field").on("change", function() {
despacito();
});
});
});

That really really worked. Just tested it. :) :)  Thanks alot !!!!

You're COMMUNITY CHAMPION -for sure,.

Comment

Log in or Sign up to comment