From d26648e9d2dec10092858d1cb60ed5e3a6814022 Mon Sep 17 00:00:00 2001 From: baconyao Date: Tue, 5 Dec 2023 08:43:10 +0800 Subject: [PATCH] Fix: clean useless code up --- API/Jira/scenarios/pc/pc.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/API/Jira/scenarios/pc/pc.py b/API/Jira/scenarios/pc/pc.py index 78564a2..1694dfb 100644 --- a/API/Jira/scenarios/pc/pc.py +++ b/API/Jira/scenarios/pc/pc.py @@ -476,17 +476,6 @@ def _create_rts_task(self, story_task={}): 'id': self.jira_api.jira_project['epic'][self.epic] } - # FIXME: Use regex to verify the valid time format - # date_regex = datetime.datetime.strptime - # if 'start_date' in self.current_platform and \ - # self.current_platform['start_date'][idx]: - # fields['customfield_10015'] = \ - # self.current_platform['start_date'][idx] - - # if 'end_date' in self.current_platform and \ - # self.current_platform['end_date'][idx]: - # fields['duedate'] = self.current_platform['end_date'][idx] - issue_updates.append({'fields': fields, 'update': {}}) response = self.jira_api.create_issues(