我为jira粘贴了python代码以添加工作日志,但它不起作用。某些问题与jira.add_worklog API的“ started”参数不起作用。请帮助解决。
如果在此上提供合适的示例,则更可取。
来自jira.client
import JIRA
import time
now = time.strftime("%A ""%c")
options ={'server': 'http://192.168.100.39:8081/'}
jira= JIRA(options, basic_auth=('chaitanya.mehta','qa123*'))
jira.add_worklog("SVC-2531", timeSpent="15m", comment= "DSM for 20 June'18", started="2018-06-20T08:21:01.273+0000")
print("Worklog successfully done at %s" %now)