refactor #find_issue, add private #find_first_issue