This doc: https://developer.atlassian.com/stash/docs/3.0.1/reference/javascript/events_.html mentions how to add a handler for any event. But there is absolutely no documentation anywhere about what can be passed as "eventName."
I'm trying to figure out how to hook into pull request being merged on front-end, to present additional dialog window for user to interact with. Adding event on the button itself only works once (if you cancel merge, event handlers are reset).
Community moderators have prevented the ability to post new answers.
Hi Sergey,
I'm not aware of a canonical list (unless you want to go leafing through the source code, which you're entitled to if you have a commercial license) but you can get Stash to output the events that are being triggered by appending the query parameter eve=* to the URL. * lists all events, but you can filter to a subset of events by entering a substring.
ACDEV-1509 set enabled by default - Stash 2014-12-27 12-39-21 2014-12-27 12-40-15.png
cheers,
Tim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.