Skip to content

Commit

Permalink
Fix: clean useless code up
Browse files Browse the repository at this point in the history
  • Loading branch information
baconYao authored and weizhenwu committed Dec 11, 2023
1 parent 77ab752 commit d26648e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions API/Jira/scenarios/pc/pc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d26648e

Please sign in to comment.