updated to return issue id