Created
July 6, 2020 17:44
-
-
Save dimastatz/7237a28dca24a77c94e94da120f910c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_incidents(jira: JIRA, project: str, dt: str): | |
query = 'project={} and created > {} and type=Bug' | |
issues = [jira.issue(x) for x in jira.search_issues(query.format(project, dt))] | |
return [[x.key, x.fields.summary, 'Bug', x.fields.created, x.fields.updated] for x in issues] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment