Beispiel #1
0
 def update_task_effort_left(self, user, password, key, effort_left_d):
     # TODO: See if we need to log in each time
     gh = GreenHopper(
         basic_auth=(user, password), options={"server": "https://jira01.corp.linkedin.com:8443", "verify": False}
     )
     issue = gh.issue(key)
     gh.add_worklog(issue, adjustEstimate="new", timeSpent="1h", newEstimate="%.1fd" % effort_left_d)
     return