Move get issues function into issue manager