Listening for ISSUE_QUICK_ADD_CLICKED

When a user clicks a quick-add button, the ISSUE_QUICK_ADD_CLICKED event is sent. I understand that apps can listen for this event using the JavaScript API. Since the web panel associated with the issue content module won’t have been rendered at that point, how should the app run the JavaScript that will do the event listening? I mean, do we have to create a separate module just to listen to the event? Would that be a glance?

2 Likes

Answering my own question:

The content of the issue content panel is downloaded first, and then the ISSUE_QUICK_ADD_CLICKED event is fired. Any JavaScript that wants to listen for the event can be included in the panel content.

2 Likes

Thank you for sharing @david.pinn

How did you get this working? @david.pinn

I am struggling to get the event when the panel is first rendered.