add method to get all issues and subissues