We would like to hide "Add flag to issue" from the context menu in the board view.
Tried this but to no avail:
AJS.toInit(function ($) {
$('.ajs-layer box-shadow active').ajaxComplete(function () {
AJS.$("#ghx-issue-ctx-action-flag-toggle").hide()
});
}); How can we listen to the even and hide the entry with just plain javascript integrated via announcement banner.
Thank you.