Minor Enhancements
This commit is contained in:
@@ -43,7 +43,10 @@ def get_assignee(type, issue):
|
||||
elif type == 'Dev Citizen-Frontend':
|
||||
return 'reu9001'
|
||||
elif type.startswith('Test-Anpassung'):
|
||||
return 'osm9005'
|
||||
if issue.key.startswith('WRGWR-'):
|
||||
return 'ada9001'
|
||||
else:
|
||||
return 'osm9005'
|
||||
|
||||
def create_subtask(issue, parent, type, subtask_sp, estimation_remark):
|
||||
escaped = issue.fields.summary.replace('"', r'\"')
|
||||
@@ -110,8 +113,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=25827') #, expand='changelog')
|
||||
issues_Jql = jira_server.search_issues('key in (WRGWR-2932)') #, expand='changelog')
|
||||
issues_Jql = jira_server.search_issues('filter=25827') #, expand='changelog')
|
||||
#issues_Jql = jira_server.search_issues('key in (WRGWR-2932)') #, 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(f'Creating sub-tasks out of estimation of pre-planning of {date.today()}')
|
||||
|
||||
Reference in New Issue
Block a user