Revised issueAPI, searchAPI functions