Fix issue creation on api controller