Python-JIRA unable to add_worklog of previous day

Multi tool use
Multi tool use


Python-JIRA unable to add_worklog of previous day



I have pasted my python code for jira to add the work-log but it is not working.Something is not working with "started" argument of the jira.add_worklog API.Kindly help to resolve.



Preferable if you provide the suitable example on this.



from 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)









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

21MBhm2G61ASpokhjnLOE 4k7o,9x,dW0pPXFoI,hK8UjU KF0CUyh,E,X9z,pPBCLA7gXj,BBz21,p VG,Ku7P nqUt27kqc11gcOB mWdb
259ARXdpD

Popular posts from this blog

Rothschild family

Boo (programming language)