Python-JIRA unable to add_worklog of previous day


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.

Popular posts from this blog

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?

iOS Top Alignment constraint based on screen (superview) height