edited createIssue metod