import jira import datetime def add_worklog(jira: jira.JIRA, day: datetime.date, task_id: str, time: float, comment: str): jira.add_worklog(task_id, timeSpent=("%.2fh" % time).replace('.', ','), started=datetime.datetime.combine(day, datetime.time(12, 0)), comment=comment) #. Ееее, работает