Add title headers to jira summary
This commit is contained in:
parent
197659c020
commit
e6d35a85a9
|
@ -29,13 +29,13 @@ def _show_summary(session, timepoint):
|
||||||
def main():
|
def main():
|
||||||
logging.basicConfig()
|
logging.basicConfig()
|
||||||
logging.getLogger().setLevel(logging.DEBUG)
|
logging.getLogger().setLevel(logging.DEBUG)
|
||||||
logging.getLogger('requests').setLevel(logging.INFO)
|
logging.getLogger('requests').setLevel(logging.WARN)
|
||||||
|
|
||||||
config = teamanalysis.config.get()
|
config = teamanalysis.config.get()
|
||||||
|
|
||||||
timepoint = datetime.datetime(2015, 5, 1, 0, 0, 1)
|
timepoint = datetime.datetime(2015, 5, 1, 0, 0, 1)
|
||||||
session = teamanalysis.jira.create_session(**config['jira'])
|
session = teamanalysis.jira.create_session(**config['jira'])
|
||||||
|
print("Start Date\tEnd Date\tCreated\tCompleted\tWithout epic")
|
||||||
now = datetime.datetime.utcnow()
|
now = datetime.datetime.utcnow()
|
||||||
while timepoint < now + datetime.timedelta(days=7):
|
while timepoint < now + datetime.timedelta(days=7):
|
||||||
_show_summary(session, timepoint)
|
_show_summary(session, timepoint)
|
||||||
|
|
Loading…
Reference in New Issue