Last active
July 6, 2020 17:36
-
-
Save dimastatz/351a1784eaaa4f18e320c4b7103d6bc2 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_lead_time(jira: JIRA, project: str, dt: str): | |
query = 'project={} and created > {} and status=Done and type=Story' | |
issues = [jira.issue(x) for x in jira.search_issues(query.format(project, dt))] | |
return [[x.key, x.fields.summary, 'Story', 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