The Api::getIssueTypes method works as expected, however it doesn't cache it's response as other methods, like Api::getResolutions do for example. That results in API call made for each method call despite the fact, that issue types doesn't change on it's own.