It looks like the JIRA Cloud API is different from JIRA On Premise, why is that and will it be fixed/updated in the future?
It specifically happens in the `/rest/api/2/project?expand=issueTypes` endpoint which works perfectly for JIRA Cloud but doesn't work on JIRA On Premise.