migrate to the new search api for issues