def fetch_items(self, category, **kwargs):
from_date = kwargs['<STR_LIT>']<EOL>logger.info("<STR_LIT>",<EOL>self.url, self.project, str(from_date))<EOL>whole_pages = self.client.get_issues(from_date)<EOL>fields = json.loads(self.client.get_fields())<EOL>custom_fields = filter_custom_fields(fields)<EOL>for whole_page in whole_pages:<EOL><INDENT>issues = self.parse_issues(whole_page)<EOL>for issue in issues:<EOL><INDENT>mapping = map_custom_field(custom_fields, issue['<STR_LIT>'])<EOL>for k, v in mapping.items():<EOL><INDENT>issue['<STR_LIT>'][k] = v<EOL><DEDENT>comments_data = self.__get_issue_comments(issue['<STR_LIT:id>'])<EOL>issue['<STR_LIT>'] = comments_data<EOL>yield issue<EOL><DEDENT><DEDENT>
Fetch the issues

        :param category: the category of items to fetch
        :param kwargs: backend arguments

        :returns: a generator of items