Coverage for /home/delusionalinsanity/bbrepos/matyan/src/matyan/fetchers/jira.py : 52%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
'BaseFetcher', 'JiraFetcher', )
config = self.get_config() return Jira( url=config["url"], username=config["username"], password=config["token"] )
if not self.should_continue(): LOGGER.error( f"Skip {issue_id} after global number of retries reached" ) return {}
try: issue = self.instance.issue(issue_id) return { 'title': issue['fields']['summary'], 'description': issue['fields']['description'], } except (TypeError, KeyError, IOError) as err: self.register_error() LOGGER.exception(f"Problems getting the issue {issue_id}") return {} |