Dev in progress

This commit is contained in:
Zimmerberger Markus
2024-03-13 15:44:32 +01:00
parent 8f00082431
commit 902fbec9a0
6 changed files with 93 additions and 21 deletions
+5 -4
View File
@@ -17,10 +17,11 @@ logging.basicConfig(filename='sprint efforts.log',
host = "https://jira.wien.gv.at/"
pat = "OTAyMTM3MjY0MjE0Ovz6bu0ti1TlEdSegmmiWiJ2wGeD"
sprint = 9
sprint = 1
project = 'WRWGR3'
row = 0; col = 0
workbook = xlsxwriter.Workbook(f'efforts sprint {sprint} (from comment).xlsx')
workbook = xlsxwriter.Workbook(f'efforts {project} sprint {sprint} (from comment).xlsx')
worksheet = workbook.add_worksheet('efforts')
cell_format = workbook.add_format()
@@ -39,8 +40,8 @@ headers["Authorization"] = f"Bearer {pat}"
jira_server = JIRA(server=host, options={"headers": headers})
# use filter or single issue
issues_Jql = jira_server.search_issues('filter=24707') #, expand='changelog')
#issues_Jql = jira_server.search_issues('key in (DKARB-140)') #, expand='changelog')
#issues_Jql = jira_server.search_issues('filter=25827') #, expand='changelog')
issues_Jql = jira_server.search_issues('key in (WRGWR-2838, WRGWR-2839)') #, expand='changelog')
#issues_Jql = jira_server.search_issues('labels in (Refinement11012022) AND type not in (Bug) AND status not in (Done) and ("Story Points" is EMPTY or "Story Points" = 0)') #, expand='changelog')
logging.info('Sum effort stored in issue-comments of pre-planning sprint {}'.format(sprint))