JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e, context, reason) {
getProjectId();
AJS.$("#jira-button-link").click(function (eve) {
getFunction();
});
});
above function
While going through projects navigation and clicking on that button(the button will appear on the issue) the function calls infinite times
While going through issues navigation and clicking on that button(the button will appear on the issue) the function calls only one time.
i want to call one time only