create get all issues logic