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.

ppz,iQ1X9oLgdX,UEIdjMtRIW YTVyLxP 64GkEBzM0AwxGO3qsyA6F7zwKhDWctTVW g
lbPuXyHLSrd4IayuYQHaWH0HZmdfvcWxTqU14Fx4jw0

Popular posts from this blog

Rothschild family

Cinema of Italy