The function is calling multiple times while going to issues through the project view
I'm using the below code for binding
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e, context, reason) {
getProjectId();
AJS.$("#jira-button-link").click(function (eve) {
getFunction();
});
});
through the issue view it's working