In some parts of the app, there are built-in links for showing the number of open or closed tickets. For example, when looking at the customers under Organizations:

We noticed that specifically for the closed tickets, the jquery is saying anything with a resolution status is considered closed. In our workflows, a ticket may have a resolution status, but is not considered closed yet. So here we simply have a different definition of closed than that of Jira.
Is there a way to modify the jquery of these links or is it hard coded?